adding -lc_r to build for apache1/2 ...

Marc G. Fournier scrappy at hub.org
Thu Aug 18 19:47:18 GMT 2005


On Thu, 18 Aug 2005, Kris Kennaway wrote:

> On Thu, Aug 18, 2005 at 01:55:45AM -0300, Marc G. Fournier wrote:
>>
>> Is there something I can add to make.conf to have -lc_r built into various
>> applications (apache1/2, php, etc) by default?  I've been burnt a few
>> times with not having it built that way, and would just like to save
>> myself the headache ...
>
> You might like to, but this is wrong and just blindly linking in
> libc_r won't solve your problems.  Instead ask why your applications
> are not being compiled and built with thread support if that is what
> you want.

I want apache2 to be compiled with thread support, since the mod_python 
I've built requires it, since the python that mod_python depends on is 
built with thread support ... its one of those 'cascading dependency' 
issues :(  Same with trying to build php-domxml after you've build libxml2 
with threading enabled ...

there is no way that I'm aware of for something like apache2 to 
auto-detect that oen of its 'modules' needs thread support, unless somehow 
the ports system is supposed to do this?



----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-ports mailing list