/dev/null: No such file or directory
Alexander Leidinger
Alexander at Leidinger.net
Wed Sep 20 00:27:29 PDT 2006
Quoting "Marc G. Fournier" <scrappy at freebsd.org> (from Tue, 19 Sep
2006 18:11:24 -0300 (ADT)):
> On Tue, 19 Sep 2006, Alexander Leidinger wrote:
>
>> Quoting Brooks Davis <brooks at one-eyed-alien.net> (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.
>
> Is there a trick I need to do to get stage3 to install in a jail? :)
I don't know, but what about installing it on the host (with a PREFIX
which is ok for you) and then making a jail out of it (so you can ssh
to a linux-in-a-jail)?
Maintainer CCed (and therefore no quote-trimming).
> dev/ttya4: Can't restore device node: Operation not permitted
> dev/radio49: Can't restore device node: Operation not permitted
> dev/sdd14: Can't restore device node: Operation not permitted
> dev/xda8: Can't restore device node: Operation not permitted
> dev/mcdx0: Can't restore device node: Operation not permitted
> dev/scd3: Can't restore device node: Operation not permitted
> dev/vcs54: Can't restore device node: Operation not permitted
> dev/fd0u800: Can't restore device node: Operation not permitted
> *** Error code 1
>
> ----
> Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
> Email . scrappy at hub.org MSN . scrappy at hub.org
> Yahoo . yscrappy Skype: hub.org ICQ . 7615664
Bye,
Alexander.
--
I think I am an overnight sensation right now!!
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-emulation
mailing list