Compiling perl5.8.5 fails in chroot'ed environment

Erik Norgaard norgaard at
Sun Jan 2 12:44:08 PST 2005


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/
"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:
S/MIME Certificate:
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

More information about the freebsd-questions mailing list