Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2006 09:52:44 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        shildreth@allantgroup.com
Cc:        FreeBSD Emulation <emulation@FreeBSD.org>, gkovesdan@t-hosting.hu
Subject:   Re: I am trying to compile under linux compat
Message-ID:  <20060831095244.p567o3eisg848cog@webmail.leidinger.net>
In-Reply-To: <1156973617.54794.100.camel@scotth.emsphone.com>
References:  <1156957083.54794.75.camel@scotth.emsphone.com> <68109618@srv.sem.ipt.ru> <1156967569.54794.92.camel@scotth.emsphone.com> <91304074@srv.sem.ipt.ru> <1156973617.54794.100.camel@scotth.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Scott T. Hildreth" <shildreth@allantgroup.com> (from Wed, 30 =20
Aug 2006 16:33:36 -0500):

>> I think yes, but definitely the maintainer of linux_dist-gentoo* ports
>> (CCed) knows better.
>>
>
>  Well, I went ahead and installed it.  Unless WITH_LINUXBASE is set, it
>  installs into /usr/local/gentoo-stage1.  To run progs or compile, you
>  have to do a 'chroot /usr/local/gentoo-stage1'.  Which is not optimal
>  if I want to run something compiled there as in /usr/compat/linux.  I

This is only a problem if you compile something which needs some libs =20
which aren't available in linux_base. You could make a local =20
port/package out of them and install them to linux_base (programs =20
should install at least a wrapper in the FreeBSD native tree). This =20
would be the cleanest solution.

Besides this you can just copy it over to linux_base...

>  am going to try to make it the linux_base and see how things run.
>  Just curious, if linux_base-fc4 is going to be the default, why not
>  make a linux-devtools port that coincides with the linux_base port?

We have some ports which conflict with linux devtools. You also want =20
to chroot anyway when developing linux stuff on FreeBSD, else you may =20
get some nasty problems. Picking up FreeBSD native stuff is one of =20
them. Another problem is that the current linux base structure is =20
intended to use parts of FreeBSD where possible (it relies on the fall =20
through to FreeBSD native directories), which isn't given when doing a =20
chroot into it.

So I'm grateful we got the linux_dist ports for cross-development =20
stuff, they solve some nasty issues in a nice way.

Doing a linux_devtools update is a waste of time in my eyes, but you =20
are free to do it. In case someone does it, please switch maintainer =20
from emulation@ to something else.

Bye,
Alexander.

--=20
A man's house is his hassle.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137




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