From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 01:41:29 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 518F716A403 for ; Wed, 20 Sep 2006 01:41:29 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0730E43D49 for ; Wed, 20 Sep 2006 01:41:29 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D786D1A3C19; Tue, 19 Sep 2006 18:41:28 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 96B21515F7; Tue, 19 Sep 2006 21:41:27 -0400 (EDT) Date: Tue, 19 Sep 2006 21:41:27 -0400 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060920014127.GA52449@xor.obsecurity.org> References: <20060918230348.I1031@ganymede.hub.org> <20060919022530.GA44301@lor.one-eyed-alien.net> <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-emulation@freebsd.org Subject: Re: /dev/null: No such file or directory X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 01:41:29 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 19, 2006 at 09:21:17AM +0200, Alexander Leidinger wrote: > Quoting Brooks Davis (from Mon, 18 Sep =20 > 2006 21:25:30 -0500): >=20 > >On Mon, Sep 18, 2006 at 11:08:42PM -0300, Marc G. Fournier wrote: > >> > >>I have linux_base-fc-4_8 installed, clean install, and the two sysctl > >>referred to in /usr/ports/UPDATING haven't been changed from the defaul= t: > >> > >># sysctl -a | grep compat.linux.osname > >>compat.linux.osname: Linux > >># sysctl -a | grep compat.linux.osrelease > >>compat.linux.osrelease: 2.4.2 > >> > >>But, when I try to run configure from a chroot environment, I get: > >> > >>../gcc-4.0.3/configure: line 533: /dev/null: No such file or directory > >> > >>I've searched through /usr/ports/UPDATING, but am not finding anything > >>except for the section on "remove /compat/linux completely", which I've > >>done ... > >> > >>So, either the port isn't creating something, or I'm missing something = in > >>the UPDATING doc :( > > > >You must have devfs containing at least null and zero mounted in your > >chroot. >=20 > Right. Additionally I suggest to use a linux_dist-gento-* port if you =20 > want to do cross-development. The default linux_base port only =20 > contains stuff to run the programs in the ports collection (and maybe =20 > a little bit more). To compile the stuff to test the linuxolator in =20 > -current I use linux_dist-gento-stage3. You should mount devfs, =20 > linprovfs and maybe linsysfs in the chroot. What happened to the linux_devtools port (which is supposed to take care of this) - was it never updated to parity with linux_base? Kris --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFEJxHWry0BWjoQKURAhMaAJ9X1j86Y6x3FBAN73KjOAGLllaf2QCgrBE4 PhgKyrHJpSSeZTcmc0ifWag= =2qi9 -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--