I am trying to compile under linux compat

Gábor Kövesdán gabor at FreeBSD.org
Wed Aug 30 21:38:43 UTC 2006


Scott T. Hildreth wrote:
> On Thu, 2006-08-31 at 01:10 +0400, Boris Samorodov wrote:
>   
>> On Wed, 30 Aug 2006 14:52:49 -0500 Scott T. Hildreth wrote:
>>     
>>> On Wed, 2006-08-30 at 23:37 +0400, Boris Samorodov wrote:
>>>       
>>>> On Wed, 30 Aug 2006 11:58:03 -0500 Scott T. Hildreth wrote:
>>>>         
>>>>> I didn't install linux-devtools, since everything is supposed to be in
>>>>> fc4 port, right?
>>>>>           
>>>> Linux_base port is not supposed to install _everithing_ but to install
>>>> the stuff to support running linux ports under FreeBSD OS.
>>>>
>>>>         
>>>>> There isn't a linux gcc installed, do I need get it from another
>>>>> port? 
>>>>>           
>>>> You may consider using linux_dist-gentoo* for a development needs.
>>>>         
>>>   Would I install that over - in conjunction with the fc4?
>>>       
>> 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 
>  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?
>
>                               
>   
I'd suggest stage3 instead of stage1 since it is the most complete 
version. WITH_LINUXBASE is okay, if you don't want to chroot, but that 
is discouraged, since _none_ of the related ports are guaranteed to work 
properly with that. Only the default linux_base port is supported 
officially by our ports collection, which is already linux_base-fc4 at 
the moment, that's why I did not mention this way in my previous answer.

-- 
Cheers,

Gabor



More information about the freebsd-emulation mailing list