Subject: RE: Webmin on Qube2/NetBSD 1.6
To: 'Colin Raven' <duiker@haggis.nl>
From: John Cobb <johnc@nobytes.com>
List: port-cobalt
Date: 11/15/2004 10:06:40
Hi Colin,

Im pretty sure I don't have Perl installed,

# perl -v
perl: Command not found.
#

I tried to compile the latest source code (5.8.5), it took me about an hour
to answer all the questions, then during the 'make' stage I got the
following error message:

cc -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -o
miniperl  miniperlmain.o opmini.o libperl.a
libperl.a(pp.o): In function `Perl_pp_pow':
pp.c(.text+0x48e4): undefined reference to `pow'
libperl.a(pp.o): In function `Perl_pp_modulo':
pp.c(.text+0x57ac): undefined reference to `floor'
pp.c(.text+0x57d0): undefined reference to `floor'
pp.c(.text+0x5838): undefined reference to `fmod'
libperl.a(pp.o): In function `Perl_pp_atan2':
pp.c(.text+0xccac): undefined reference to `atan2'
libperl.a(pp.o): In function `Perl_pp_sin':
pp.c(.text+0xcebc): undefined reference to `sin'
libperl.a(pp.o): In function `Perl_pp_cos':
pp.c(.text+0xd10c): undefined reference to `cos'
libperl.a(pp.o): In function `Perl_pp_exp':
pp.c(.text+0xd6f0): undefined reference to `exp'
libperl.a(pp.o): In function `Perl_pp_log':
pp.c(.text+0xd9ac): undefined reference to `log'
libperl.a(pp.o): In function `Perl_pp_sqrt':
pp.c(.text+0xdc70): undefined reference to `sqrt'
libperl.a(pp.o): In function `Perl_pp_int':
pp.c(.text+0xe008): undefined reference to `floor'
pp.c(.text+0xe080): undefined reference to `ceil'
libperl.a(pp_pack.o): In function `S_pack_rec':
pp_pack.c(.text+0x6d04): undefined reference to `floor'
pp_pack.c(.text+0x6d54): undefined reference to `floor'
*** Error code 1

Stop.
make: stopped in /root/perl/perl-5.8.5
#

As you can guess I wasn't to pleased so I gave up :P
I haven't give the pkg a go yet (is this the same as source from perls
website?) I will try it today thoe and let you know the outcome.

John

-----Original Message-----
From: port-cobalt-owner@NetBSD.org [mailto:port-cobalt-owner@NetBSD.org] On
Behalf Of Colin Raven
Sent: 15 November 2004 07:11
To: John Cobb
Cc: port-cobalt@NetBSD.org
Subject: Re: Webmin on Qube2/NetBSD 1.6

John Cobb wrote:

>
> Has anybody managed to install Webmin (or a similar program) on there 
> Qube2?
>
Yes! It was one of the first apps I installed. Got the tarball from a 
webmin.com mirror, untarred it,
.and there it was, ready to go. I ran the webmin config script which 
asks for a *few* items of information, edited miniserv.pl for one item 
(port number, I *think*) and that was that, webmin was ready to go. 
/etc/rc.d edited to get webmin to start at boot time...and that was that.

> I went to install it then I realised I had no Perl installed..
>
> And installing perl, well it didn't work very well. Has anybody 
> managed to install Perl 5?
>
That *is* interesting,
I assumed Perl wasn't installed on my qube2 also, only to discover it 
was by default which surprised the heck out of me. I expected I would 
have to install it. This is slightly worrying that you don't have 
it.....are you *sure* you don't?? what is the output of perl -v
perhaps you could elaborate on what you meant by the perl installation 
didn't go very well. Did you install it from /usr/pkgsrc/lang/perl58? 
what happened?

-Colin