Stefan Hornburg writes:
Compilation failed on Debian sarge: checking for ldap.h... yes configure: error: ldap.h header found, but a test compile failed -- check ldapaddressbook/config.log for more details configure: error: /bin/sh './configure' failed for ldapaddressbook make: *** [build] Error 1 The config.log is attached. ldap.h is from openldap 2.1.30. Please advise what is going wrong here.
Eh, openldap 2.1.30's header file do not provide a definition for NULL. Use this for now. --- ldapaddressbook/configure.old 2006-02-06 21:16:12.000000000 -0500 +++ ldapaddressbook/configure 2006-02-26 10:26:55.000000000 -0500 @@ -20404,6 +20404,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include <stdio.h> #include <ldap.h> int
pgpunaVEz0xkA.pgp
Description: PGP signature
