[gnutls-dev]AM_PATH_LIBGNUTLS_EXTRA
Ivo Timmermans
ivo at o2w.nl
Sat Oct 5 00:22:02 CEST 2002
Oi,
When using the AM_PATH_LIBGNUTLS_EXTRA macro in configure.in, autoconf
tries to compile a piece of code that references
LIBGNUTLS_EXTRA_VERSION. However, that symbol isn't defined anywhere,
so the check always fails, leading configure to believe gnutls-extra
isn't available.
This call:
AM_PATH_LIBGNUTLS_EXTRA(0.1.0)
results in:
checking for libgnutls-extra-config... /usr/bin/libgnutls-extra-config
checking for libgnutls - version >= 0.1.0... no
*** Could not run libgnutls test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBGNUTLS_EXTRA or finding the wrong
*** version of LIBGNUTLS_EXTRA. If it is not finding LIBGNUTLS_EXTRA, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
config.log contains:
configure:2384: checking for libgnutls - version >= 0.1.0
configure:2463: gcc -o conftest -O2 -fomit-frame-pointer -I/usr/include -I/usr/include -s conftest.c -L/usr/lib -lgnutls-extra -lgnutls -lz -L/usr/lib -lopencdk -L/usr/lib -lgcrypt >&5
configure: In function `main':
configure:2428: `LIBGNUTLS_EXTRA_VERSION' undeclared (first use in this function)
configure:2428: (Each undeclared identifier is reported only once
configure:2428: for each function it appears in.)
configure:2466: $? = 1
configure: program exited with status 1
configure: failed program was:
(This is Debian bug 163355)
Ivo
--
No, I just like to run around and scream real loud!
- Dee Dee
More information about the Gnutls-devel
mailing list