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

Stephan Bosch stephan at rename-it.nl
Mon Jul 28 07:29:14 UTC 2014


On 7/27/2014 2:21 PM, Michael Grimm wrote:
> 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?

Me not paying attention with adding new features as it seems.

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

Fixed:

http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/5117ffc8b151

Regards,

Stephan.


More information about the dovecot mailing list