Subject: Re: Webmin on Qube2/NetBSD 1.6
To: John Cobb <johnc@nobytes.com>
From: Vadim P. <vadim@realconnect.com>
List: port-cobalt
Date: 11/15/2004 05:18:53
This is a multi-part message in MIME format.
------=_NextPart_000_01D0_01C4CAD2.997DFC10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
John--
First, try looking for Per first to see if it indeed is missing:
# find / -name "perl" -print
see if it is there - it may not be on the path, hence no response when =
you type "perl -v".
Second, always try the package source tree first. Perl is there and =
builds perfectly well.
--Vadim.
----- Original Message -----=20
From: John Cobb=20
To: 'Colin Raven'=20
Cc: port-cobalt@NetBSD.org=20
Sent: Monday, November 15, 2004 5:06 AM
Subject: RE: Webmin on Qube2/NetBSD 1.6
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=20
> Qube2?
>
Yes! It was one of the first apps I installed. Got the tarball from a=20
webmin.com mirror, untarred it,
.and there it was, ready to go. I ran the webmin config script which=20
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.=20
/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=20
> managed to install Perl 5?
>
That *is* interesting,
I assumed Perl wasn't installed on my qube2 also, only to discover it=20
was by default which surprised the heck out of me. I expected I would=20
have to install it. This is slightly worrying that you don't have=20
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?=20
what happened?
-Colin
------=_NextPart_000_01D0_01C4CAD2.997DFC10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>John--</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>First, try looking for Per first to see =
if it=20
indeed is missing:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2># find / -name "perl" =
-print</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>see if it is there - it may not be on =
the path,=20
hence no response when you type "perl -v".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Second, always try the package source =
tree=20
first. Perl is there and builds perfectly well.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>--Vadim.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Djohnc@nobytes.com href=3D"mailto:johnc@nobytes.com">John =
Cobb</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dduiker@haggis.nl =
href=3D"mailto:duiker@haggis.nl">'Colin Raven'</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A =
title=3Dport-cobalt@NetBSD.org=20
href=3D"mailto:port-cobalt@NetBSD.org">port-cobalt@NetBSD.org</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, November 15, 2004 =
5:06=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: Webmin on =
Qube2/NetBSD=20
1.6</DIV>
<DIV><BR></DIV>Hi Colin,<BR><BR>Im pretty sure I don't have Perl=20
installed,<BR><BR># perl -v<BR>perl: Command not found.<BR>#<BR><BR>I =
tried to=20
compile the latest source code (5.8.5), it took me about an hour<BR>to =
answer=20
all the questions, then during the 'make' stage I got the<BR>following =
error=20
message:<BR><BR>cc -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib=20
-L/usr/local/lib -o<BR>miniperl miniperlmain.o opmini.o=20
libperl.a<BR>libperl.a(pp.o): In function=20
`Perl_pp_pow':<BR>pp.c(.text+0x48e4): undefined reference to=20
`pow'<BR>libperl.a(pp.o): In function =
`Perl_pp_modulo':<BR>pp.c(.text+0x57ac):=20
undefined reference to `floor'<BR>pp.c(.text+0x57d0): undefined =
reference to=20
`floor'<BR>pp.c(.text+0x5838): undefined reference to=20
`fmod'<BR>libperl.a(pp.o): In function =
`Perl_pp_atan2':<BR>pp.c(.text+0xccac):=20
undefined reference to `atan2'<BR>libperl.a(pp.o): In function=20
`Perl_pp_sin':<BR>pp.c(.text+0xcebc): undefined reference to=20
`sin'<BR>libperl.a(pp.o): In function =
`Perl_pp_cos':<BR>pp.c(.text+0xd10c):=20
undefined reference to `cos'<BR>libperl.a(pp.o): In function=20
`Perl_pp_exp':<BR>pp.c(.text+0xd6f0): undefined reference to=20
`exp'<BR>libperl.a(pp.o): In function =
`Perl_pp_log':<BR>pp.c(.text+0xd9ac):=20
undefined reference to `log'<BR>libperl.a(pp.o): In function=20
`Perl_pp_sqrt':<BR>pp.c(.text+0xdc70): undefined reference to=20
`sqrt'<BR>libperl.a(pp.o): In function =
`Perl_pp_int':<BR>pp.c(.text+0xe008):=20
undefined reference to `floor'<BR>pp.c(.text+0xe080): undefined =
reference to=20
`ceil'<BR>libperl.a(pp_pack.o): In function=20
`S_pack_rec':<BR>pp_pack.c(.text+0x6d04): undefined reference to=20
`floor'<BR>pp_pack.c(.text+0x6d54): undefined reference to =
`floor'<BR>***=20
Error code 1<BR><BR>Stop.<BR>make: stopped in=20
/root/perl/perl-5.8.5<BR>#<BR><BR>As you can guess I wasn't to pleased =
so I=20
gave up :P<BR>I haven't give the pkg a go yet (is this the same as =
source from=20
perls<BR>website?) I will try it today thoe and let you know the=20
outcome.<BR><BR>John<BR><BR>-----Original Message-----<BR>From: <A=20
=
href=3D"mailto:port-cobalt-owner@NetBSD.org">port-cobalt-owner@NetBSD.org=
</A>=20
[mailto:port-cobalt-owner@NetBSD.org] On<BR>Behalf Of Colin =
Raven<BR>Sent: 15=20
November 2004 07:11<BR>To: John Cobb<BR>Cc: <A=20
=
href=3D"mailto:port-cobalt@NetBSD.org">port-cobalt@NetBSD.org</A><BR>Subj=
ect:=20
Re: Webmin on Qube2/NetBSD 1.6<BR><BR>John Cobb =
wrote:<BR><BR>><BR>> Has=20
anybody managed to install Webmin (or a similar program) on there =
<BR>>=20
Qube2?<BR>><BR>Yes! It was one of the first apps I installed. Got =
the=20
tarball from a <BR>webmin.com mirror, untarred it,<BR>.and there it =
was, ready=20
to go. I ran the webmin config script which <BR>asks for a *few* items =
of=20
information, edited miniserv.pl for one item <BR>(port number, I =
*think*) and=20
that was that, webmin was ready to go. <BR>/etc/rc.d edited to get =
webmin to=20
start at boot time...and that was that.<BR><BR>> I went to install =
it then=20
I realised I had no Perl installed..<BR>><BR>> And installing =
perl, well=20
it didn't work very well. Has anybody <BR>> managed to install Perl =
5?<BR>><BR>That *is* interesting,<BR>I assumed Perl wasn't =
installed on my=20
qube2 also, only to discover it <BR>was by default which surprised the =
heck=20
out of me. I expected I would <BR>have to install it. This is slightly =
worrying that you don't have <BR>it.....are you *sure* you don't?? =
what is the=20
output of perl -v<BR>perhaps you could elaborate on what you meant by =
the perl=20
installation <BR>didn't go very well. Did you install it from=20
/usr/pkgsrc/lang/perl58? <BR>what=20
happened?<BR><BR>-Colin<BR><BR><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_01D0_01C4CAD2.997DFC10--