Michael Grimm
2014-Jul-27 12:21 UTC
[pigeonhole] disregards --with-ldap=no during compilation
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
Jerry
2014-Jul-27 12:46 UTC
[pigeonhole] disregards --with-ldap=no during compilation /usr/ports/mail/dovecot2
On Sun, 27 Jul 2014 14:21:57 +0200, Michael Grimm stated:>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, >MichaelAre you using "/usr/ports/mail/dovecot2-pigeonhole" and "/usr/ports/mail/dovecot2" from the FreeBSD ports system or trying to compile from source? If from source, you can expect those problems. If you are not using the ports system, why not? -- Jerry
Stephan Bosch
2014-Jul-28 07:29 UTC
[pigeonhole] disregards --with-ldap=no during compilation
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.