Skip site navigation (1)Skip section navigation (2)
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>
References:  <41D85D10.3020303@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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