From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 01:52:08 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 4B64816A407 for ; Wed, 20 Sep 2006 01:52:08 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C28F43D53 for ; Wed, 20 Sep 2006 01:52:07 +0000 (GMT) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.208.251]) by hub.org (Postfix) with ESMTP id 3BD613A4660; Tue, 19 Sep 2006 22:51:50 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 01963-04; Tue, 19 Sep 2006 22:50:52 -0300 (ADT) Received: from ganymede.hub.org (blk-137-86-60.eastlink.ca [24.137.86.60]) by hub.org (Postfix) with ESMTP id B09643A464F; Tue, 19 Sep 2006 22:50:34 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1027) id 397CD36093; Tue, 19 Sep 2006 22:50:57 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3872D343F5; Tue, 19 Sep 2006 22:50:57 -0300 (ADT) Date: Tue, 19 Sep 2006 22:50:57 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: freebsd@ganymede.hub.org To: Kris Kennaway In-Reply-To: <20060920014127.GA52449@xor.obsecurity.org> Message-ID: <20060919224942.J1031@ganymede.hub.org> References: <20060918230348.I1031@ganymede.hub.org> <20060919022530.GA44301@lor.one-eyed-alien.net> <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> <20060920014127.GA52449@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Alexander Leidinger , 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:52:08 -0000 On Tue, 19 Sep 2006, Kris Kennaway wrote: > On Tue, Sep 19, 2006 at 09:21:17AM +0200, Alexander Leidinger wrote: >> Quoting Brooks Davis (from Mon, 18 Sep >> 2006 21:25:30 -0500): >> >>> 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 default: >>>> >>>> # 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. >> >> Right. Additionally I suggest to use a linux_dist-gento-* port if you >> want to do cross-development. The default linux_base port only >> contains stuff to run the programs in the ports collection (and maybe >> a little bit more). To compile the stuff to test the linuxolator in >> -current I use linux_dist-gento-stage3. You should mount devfs, >> 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? Apparently not ... ? > ls -ld */*devtools* drwxr-xr-x 2 root wheel 512 Nov 6 2005 devel/linux_devtools-6 drwxr-xr-x 2 root wheel 512 Nov 6 2005 devel/linux_devtools-7 And all they contain in them is README.html files ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664