IMAPD 2.2.3 & LDAP PTS?
timp at crossthread.com
Thu Jan 15 23:56:08 EST 2004
I am trying to build the new release of cyrus-imapd, and the compile is
failing trying to enable the ldap authorization.
I am trying to link it against OpenLDAP 2.1.23.
My configure command line:
make dies with:
gcc -c -I.. -I./../imap -I./../lib -I/usr/local/BerkeleyDB.4.1/include
-DHAVE_CONFIG_H -g -O2 ldap.c
ldap.c:65:19: lutil.h: No such file or directory
ldap.c:66:25: lutil_ldap.h: No such file or directory
ldap.c: In function `do_ldap_bind':
ldap.c:204: warning: assignment discards qualifiers from pointer target type
ldap.c:214: warning: assignment makes pointer from integer without a cast
ldap.c:219: error: `lutil_sasl_interact' undeclared (first use in this
ldap.c:219: error: (Each undeclared identifier is reported only once
ldap.c:219: error: for each function it appears in.)
ldap.c: In function `build_filter':
ldap.c:369: warning: assignment discards qualifiers from pointer target type
ldap.c: In function `ptsmodule_make_authstate':
ldap.c:441: warning: initialization discards qualifiers from pointer
*** Error code 1
I found lutil.h and lutil_ldap.h in the OpenLDAP source dir, and for
kicks I copied them into my ldap include dir. The compile went further,
then complained about missing objects in the link later on.
How should I comple this?
Oh yeah, I'm on FreeBSD 5.2 - but it doesn't look like that has anything
to do with it.
More information about the Info-cyrus