Date: Sun, 2 Jan 2005 12:59:30 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Erik Norgaard <norgaard@locolomo.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Compiling perl5.8.5 fails in chroot'ed environment Message-ID: <20050102205930.GD42951@xor.obsecurity.org> In-Reply-To: <41D85D10.3020303@locolomo.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB2GCyWry0BWjoQKURAuJNAJ95T3GUhiJ9c1meW/QK4Fmi0ImnCACfelBI CHIiFyn0pput2/bed5+IrnE= =GV+5 -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050102205930.GD42951>
