From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 20:59:28 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8A6F16A4CE for ; Sun, 2 Jan 2005 20:59:28 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A25D443D2F for ; Sun, 2 Jan 2005 20:59:28 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C109651756; Sun, 2 Jan 2005 12:59:30 -0800 (PST) Date: Sun, 2 Jan 2005 12:59:30 -0800 From: Kris Kennaway To: Erik Norgaard Message-ID: <20050102205930.GD42951@xor.obsecurity.org> References: <41D85D10.3020303@locolomo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WChQLJJJfbwij+9x" Content-Disposition: inline In-Reply-To: <41D85D10.3020303@locolomo.org> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Questions Subject: Re: Compiling perl5.8.5 fails in chroot'ed environment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 20:59:29 -0000 --WChQLJJJfbwij+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 02, 2005 at 09:44:00PM +0100, Erik Norgaard wrote: > Hi, >=20 > 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. >=20 > If I chroot into /usr/diskless and try to compile perl5.8 I get the > following error: >=20 > LD_LIBRARY_PATH=3D/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 >=20 > Stop in /usr/ports/lang/perl5.8/work/perl-5.8.5. > *** Error code 1 >=20 > Stop in /usr/ports/lang/perl5.8. >=20 > It only fails in the chroot'ed environment, even though the chroot has a= =20 > full bootable base. I have successfully installed lynx, bash, libiconv,= =20 > libtool and gettext in this environment. >=20 > How do I correct this? Do you have devfs mounted in the chroot? Kris --WChQLJJJfbwij+9x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB2GCyWry0BWjoQKURAuJNAJ95T3GUhiJ9c1meW/QK4Fmi0ImnCACfelBI CHIiFyn0pput2/bed5+IrnE= =GV+5 -----END PGP SIGNATURE----- --WChQLJJJfbwij+9x--