IMAPD 2.2.3 & LDAP PTS?
Tim Pushor
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:
./configure \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib\
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include\
--with-cyrus-user=cyrus\
--with-cyrus-group=cyrus\
--with-cyrus-prefix=/usr/local/cyrus\
--prefix=/usr/local/cyrus\
--with-sasl="/usr/local"\
--with-ldap=/usr/local\
--with-pts=ldap\
--with-auth=pts
make dies with:
gcc -c -I.. -I./../imap -I./../lib -I/usr/local/BerkeleyDB.4.1/include
-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/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
function)
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
target type
*** 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.
Thanks,
Tim
More information about the Info-cyrus
mailing list