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

Kris Kennaway kris at obsecurity.org
Thu Aug 18 23:59:05 GMT 2005


On Thu, Aug 18, 2005 at 04:47:17PM -0300, Marc G. Fournier wrote:
> 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?

WITH_THREADS=1 if you want to enable thread support in applications
that support it.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050818/a3dab3f5/attachment.bin


More information about the freebsd-ports mailing list