Cyrus SASL 2.1.25 won't compile with BDB 5.3.15
jckidder at aep.com
jckidder at aep.com
Fri May 4 12:06:03 EDT 2012
I am trying to use Cyrus SASL to implement pass-through authentication
from an OpenLDAP directory to Active Directory. I am using Cyrus SASL
2.1.25. When compiling I get an error trying to compile berkeleydb_open.
I am using BDB 5.3.15. This looks like a bug. The configure options and
compiler output are listed below. Since I'm just doing pass-though using
plaintext is there a way to disable compiling sasldb in order to work
around this? If not, what is the latest release of BDB supported with
2.1.25. Any help that can be offered would be greatly appreciated.
./configure --prefix=/appl/cyrus_sasl
--with-plugindir=/appl/cyrus_sasl/lib/sasl2
--with-configdir=/appl/cyrus_sasl/lib/sasl2 --disable-checkapop
--disable-cram --disable-digest --disable-scram --disable-otp
--disable-gssapi --disable-anon
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include
-I/appl/BerkeleyDB/include -I/appl/nspr/include/nspr
-I/appl/moznss/include/nss -I/appl/cyrus_sasl/include
-I/appl/unixODBC/include -DF00=42 -Wall -W -O -g -MT db_berkeley.lo -MD
-MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o
db_berkeley.lo
db_berkeley.c: In function 'berkeleydb_open':
db_berkeley.c:82: warning: passing argument 3 of 'utils->getcallback' from
incompatible pointer type
db_berkeley.c:107: warning: passing argument 2 of '(*mbdb)->open' from
incompatible pointer type
db_berkeley.c:107: warning: passing argument 4 of '(*mbdb)->open' makes
pointer from integer without a cast
db_berkeley.c:107: error: too few arguments to function '(*mbdb)->open'
db_berkeley.c: In function '_sasl_check_db':
db_berkeley.c:371: warning: passing argument 3 of 'utils->getcallback'
from incompatible pointer type
make[2]: *** [db_berkeley.lo] Error 1
make[2]: Leaving directory `/appl/src/cyrus-sasl-2.1.25/sasldb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/appl/src/cyrus-sasl-2.1.25'
make: *** [all] Error 2
-Jon C. Kidder
American Electric Power
Middleware Services
614-716-4970
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20120504/2b318f67/attachment.html
More information about the Cyrus-sasl
mailing list