curl-library
Re: NSS and configure and pkg-config
Date: Mon, 31 Aug 2009 14:56:36 +0200
Hi Kamil,
Kamil Dudka schrieb:
> On Monday 31 of August 2009 13:32:08 Guenter wrote:
> That's it! Just look at the configure.ac:1668
>
> # Without pkg-config, we'll kludge in some defaults
> addlib="-L$OPT_NSS/lib -lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
> addcflags="-I$OPT_NSS/include"
> version="unknown"
> nssprefix=$OPT_NSS
yes, and a friend just posted to me that packageinfo is ignored with
cross-compile - so that explains why this defaults drop in ...
I've now tried some more hacks, f.e.
export ac_cv_path_PKGCONFIG=/usr/bin/pkg-config
or
export PKGCONFIG=/usr/bin/pkg-config
but nevertheless config.log always shows:
PKGCONFIG='no'
> I think using --with-nss in combintaion with properly set PKG_CONFIG_PATH is
> the way to go. Maybe we can also tweak the configure.ac. The NSS support
> seems to be written in hurry :-)
then the result is even more strange - from config.log:
configure:26599: checking for PK11_CreateGenericObject in -lnss3
configure:26631: i686-pc-mingw32-gcc -o conftest.exe -g0 -O2
-Wno-system-headers conftest.c -lnss3 -lssh2 -lwldap32 -lws2_32 -lz >&5
configure:26638: $? = 0
configure:26659: result: yes
configure:26782: WARNING: SSL disabled, you will not be able to use
HTTPS, FTPS, NTLM and more.
configure:26784: WARNING: Use --with-ssl, --with-gnutls or --with-nss to
address this.
so although first test succeeds, second test skipped, and SSL directly
disabled, argh!
> Let me know if that beer help to solve this :-)
still on dry run here - need to go shopping first ...
Gün.
Received on 2009-08-31