Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2005 21:44:00 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Compiling perl5.8.5 fails in chroot'ed environment
Message-ID:  <41D85D10.3020303@locolomo.org>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to setup a diskless client, so I have created  a directory
/usr/diskless and installed FreeBSD 5.3 into it. I then unpacked
ports.tgz from the release and cvsup'ed yesterday.

If I chroot into /usr/diskless and try to compile perl5.8 I get the
following error:

LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib
-e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*/*.pm
make lib/re.pm
"makefile", line 915: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.5.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.

It only fails in the chroot'ed environment, even though the chroot has a 
full bootable base. I have successfully installed lynx, bash, libiconv, 
libtool and gettext in this environment.

How do I correct this?

Thanks, Erik
-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41D85D10.3020303>