Compiling perl5.8.5 fails in chroot'ed environment
Kris Kennaway
kris at obsecurity.org
Sun Jan 2 12:59:29 PST 2005
On Sun, Jan 02, 2005 at 09:44:00PM +0100, Erik Norgaard wrote:
> 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?
Do you have devfs mounted in the chroot?
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050102/cc7c41c5/attachment.bin
More information about the freebsd-questions
mailing list