You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> on 2008/10/12 19:12:10 UTC
[PATCH] APR-Util fails to detect NSS
APR-Util fails to detect NSS on Gentoo GNU/Linux:
...
checking nspr/nspr.h usability... yes
checking nspr/nspr.h presence... yes
checking for nspr/nspr.h... yes
checking nss/nss.h usability... no
checking nss/nss.h presence... no
checking for nss/nss.h... no
checking for PR_Initialize in -lnspr4... no
...
I'm attaching the patch which fixes this problem.
$ nspr-config --includedir
/usr/include/nspr
$ nss-config --includedir
/usr/include/nss
$ nspr-config --libdir
/usr/lib/nspr
$ nss-config --libdir
/usr/lib/nss
$
--
Arfrever Frehtes Taifersar Arahesis
Re: [PATCH] APR-Util fails to detect NSS
Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-10-13 00:59:40 Graham Leggett napisaĆ(a):
> Arfrever Frehtes Taifersar Arahesis wrote:
>
> > APR-Util fails to detect NSS on Gentoo GNU/Linux:
> >
> > ...
> > checking nspr/nspr.h usability... yes
> > checking nspr/nspr.h presence... yes
> > checking for nspr/nspr.h... yes
> > checking nss/nss.h usability... no
> > checking nss/nss.h presence... no
> > checking for nss/nss.h... no
> > checking for PR_Initialize in -lnspr4... no
> > ...
> >
> > I'm attaching the patch which fixes this problem.
> >
> > $ nspr-config --includedir
> > /usr/include/nspr
> > $ nss-config --includedir
> > /usr/include/nss
> > $ nspr-config --libdir
> > /usr/lib/nspr
> > $ nss-config --libdir
> > /usr/lib/nss
> > $
>
> Ideally there should be some kind of test that nss-config exists within
> the path before trying to call it, and it would be cool if the
> --with-nss option was able to point at nss-config, the same way
> --with-apr as able to point at apr-1-config. Thanks for pointing this
> out though - using the nss-config option is way better on platforms
> where it is present.
>
> A little busy right now, but should be able to take a look in a day or two.
Ping.
--
Arfrever Frehtes Taifersar Arahesis
Re: [PATCH] APR-Util fails to detect NSS
Posted by Graham Leggett <mi...@sharp.fm>.
Arfrever Frehtes Taifersar Arahesis wrote:
> APR-Util fails to detect NSS on Gentoo GNU/Linux:
>
> ...
> checking nspr/nspr.h usability... yes
> checking nspr/nspr.h presence... yes
> checking for nspr/nspr.h... yes
> checking nss/nss.h usability... no
> checking nss/nss.h presence... no
> checking for nss/nss.h... no
> checking for PR_Initialize in -lnspr4... no
> ...
>
> I'm attaching the patch which fixes this problem.
>
> $ nspr-config --includedir
> /usr/include/nspr
> $ nss-config --includedir
> /usr/include/nss
> $ nspr-config --libdir
> /usr/lib/nspr
> $ nss-config --libdir
> /usr/lib/nss
> $
Ideally there should be some kind of test that nss-config exists within
the path before trying to call it, and it would be cool if the
--with-nss option was able to point at nss-config, the same way
--with-apr as able to point at apr-1-config. Thanks for pointing this
out though - using the nss-config option is way better on platforms
where it is present.
A little busy right now, but should be able to take a look in a day or two.
Regards,
Graham
--