Hello, I am trying to upgrade to a newer courier-imap, but when I try to build as a rpm it finds a problem with authldap as below.

authldaplib.c: In function `enable_tls_on':
authldaplib.c:534: warning: implicit declaration of function `ldap_get_option'
authldaplib.c:535: error: `LDAP_OPT_PROTOCOL_VERSION' undeclared (first use in this function)
authldaplib.c:535: error: (Each undeclared identifier is reported only once
authldaplib.c:535: error: for each function it appears in.)
authldaplib.c:551: warning: implicit declaration of function `ldap_set_option'
authldaplib.c:556: warning: implicit declaration of function `ldap_start_tls_s'
make[2]: *** [authldaplib.o] Error 1
make[2]: Leaving directory `/usr/local/username/rpm/BUILD/courier-imap-2.2.0/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/username/rpm/BUILD/courier-imap-2.2.0/authlib'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.77459 (%build)


how do I fix this?

I think in the past I specified not to use authldap some how to get around it, but how can I specify not to compile with authldap when I am building an rpm ?

Thanks for the help.




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to