[pigeonhole] disregards --with-ldap=no during compilation

Michael Grimm trashcan at odo.in-berlin.de
Sun Jul 27 12:21:57 UTC 2014


Hi --

I can't get current dovecot and pigeonhole compiled; compilation stops with:

| sieve-ldap-db.h:19:10: fatal error: 'ldap.h' file not found

Ok, because my dovecot isn't compiled with ldap (--without-ldap), I tried to apply "--with-ldap=no" with configure as advertised in the INSTALL file of pigeonhole, but without success:

[...]
| ./sieve-ldap-db.h:19:10: fatal error: 'ldap.h' file not found
| #include <ldap.h>
|          ^
| 1 error generated.
| gmake[5]: *** [sieve-ldap-db.lo] Error 1
| gmake[5]: Leaving directory `/usr/local/etc/dovecot/SOURCE/dovecot-2.2-pigeonhole/src/lib-sieve/storage/ldap'
[...]
| gmake: *** [all] Error 2

My configure run logfile shows:

[...]
| config.status: creating src/lib-sieve/storage/ldap/Makefile
[...]
| script drivers . : file dict
|                  : -ldap

This happens at FreeBSD-STABLE (clang 3.4.1, gmake 3.82) with dovecot at 2d2d75ac6715 and pigeonhole at 1475892e8cff.

Any ideas what went wrong?

(I'm back to pigeonhole 0.4.3 (1c6130ff5dd6) for the time being.)

Thanks and regards,
Michael
 



More information about the dovecot mailing list