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, >Michael
Are 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