Date: Fri, 01 Sep 2006 15:17:07 -0500 From: "Scott T. Hildreth" <shildreth@allantgroup.com> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: FreeBSD Emulation <emulation@freebsd.org>, gkovesdan@t-hosting.hu Subject: Re: I am trying to compile under linux compat Message-ID: <1157141827.54794.155.camel@scotth.emsphone.com> In-Reply-To: <20060831095244.p567o3eisg848cog@webmail.leidinger.net> 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> <20060831095244.p567o3eisg848cog@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2006-08-31 at 09:52 +0200, Alexander Leidinger wrote: > Quoting "Scott T. Hildreth" <shildreth@allantgroup.com> (from Wed, 30 > 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 > which aren't available in linux_base. You could make a local > port/package out of them and install them to linux_base (programs > should install at least a wrapper in the FreeBSD native tree). This > would be the cleanest solution. > > Besides this you can just copy it over to linux_base... Ah that's true, good point. > > > 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 > to chroot anyway when developing linux stuff on FreeBSD, else you may > get some nasty problems. > Picking up FreeBSD native stuff is one of > them. Another problem is that the current linux base structure is > intended to use parts of FreeBSD where possible (it relies on the fall > through to FreeBSD native directories), which isn't given when doing a > chroot into it. > > So I'm grateful we got the linux_dist ports for cross-development > stuff, they solve some nasty issues in a nice way. > > Doing a linux_devtools update is a waste of time in my eyes, Okay, then I won't waste my time. > but you > are free to do it. > In case someone does it, please switch maintainer > from emulation@ to something else. > > Bye, > Alexander. > -- Scott T. Hildreth <shildreth@allantgroup.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1157141827.54794.155.camel>