Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 19:59:03 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: adding -lc_r to build for apache1/2 ...
Message-ID:  <20050818235902.GA45806@xor.obsecurity.org>
In-Reply-To: <20050818164437.W1002@ganymede.hub.org>
References:  <20050818015325.W1002@ganymede.hub.org> <20050818134113.GA9585@xor.obsecurity.org> <20050818164437.W1002@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 18, 2005 at 04:47:17PM -0300, Marc G. Fournier wrote:
> On Thu, 18 Aug 2005, Kris Kennaway wrote:
>=20
> >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 vari=
ous
> >>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.
>=20
> I want apache2 to be compiled with thread support, since the mod_python=
=20
> I've built requires it, since the python that mod_python depends on is=20
> built with thread support ... its one of those 'cascading dependency'=20
> issues :(  Same with trying to build php-domxml after you've build libxml=
2=20
> with threading enabled ...
>=20
> there is no way that I'm aware of for something like apache2 to=20
> auto-detect that oen of its 'modules' needs thread support, unless someho=
w=20
> the ports system is supposed to do this?

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

Kris

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDBSDGWry0BWjoQKURAns2AJ0YOUI4xdVT3t33eeJhcbaMKAL4bACcCzLk
qqA11Hg6zALduj1cAsIvqjM=
=QmyF
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--



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