Aki Tuomi via dovecot wrote on 10.02.2025 17:41:

-------- Original Message --------
From: Aki Tuomi via dovecot <[email protected]>
Sent: Monday, February 10, 2025 at 5:41 PM UTC+7
To: [email protected], h_y_i_e_n--- via dovecot <[email protected]>
Subject: RE: dovecot 2.4.0: Unable to build without LDAP/LUA headers/libs.


I'm getting LDAP/LUA build errors with dovecot 2.4.0 even when --without-lua and --without-ldap is specified: eg.

In file included from db-ldap-settings.c:9:
../../src/lib-ldap/ldap-settings-parse.h:4:10: fatal error: ldap.h: No such 
file or directory
     4 | #include <ldap.h>
       |          ^~~~~~~~
compilation terminated.
make[3]: *** [Makefile:2134: auth-db-ldap-settings.o] Error 1

Hi!

Looks like there is a bug, thank you for reporting.

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]


>> I'm getting LDAP/LUA build errors with dovecot 2.4.0 even when --without-lua

I got around this (for LUA) by using:
--with-lua=no
instead of:
--without-lua

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to