Problem compiling 2.1.21

Fabian Fagerholm fabbe at paniq.net
Mon Oct 3 15:38:07 EDT 2005


Hi,

I have some trouble compiling SASL 2.1.21. I'm using Debian Sarge.
Here's what happens:

./configure --enable-static --enable-shared --enable-alwaystrue
--enable-checkapop --enable-cram --enable-digest --enable-otp
--enable-srp --enable-srp-setpass --enable-krb4 --enable-gssapi
--enable-gss_mutexes --enable-plain --enable-anon --enable-login
--enable-ntlm --disable-passdss --enable-sql --enable-ldapdb
--disable-macos-framework --with-pam --with-saslauthd=/var/run/saslauthd
--with-ldap --with-pgsql=/usr/include/postgresql

This works nicely. (I do have to specify the --with-pgsql location or
compilation will fail because the PostgreSQL headers are not in the
include path.) However, when compiling:

make
...
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins
-I../include -I../sasldb  -DKRB5_HEIMDAL -I/usr/include/mysql
-I/usr/include/postgresql -I/usr/include  -Wall -W -g -O2 -MT ldapdb.o
-MD -MP -MF ".deps/ldapdb.Tpo" \
  -c -o ldapdb.o `test -f 'ldapdb.c' || echo './'`ldapdb.c; \
then mv ".deps/ldapdb.Tpo" ".deps/ldapdb.Po"; \
else rm -f ".deps/ldapdb.Tpo"; exit 1; \
fi
adding static plugins and dependencies
ar cru .libs/libsasl2.a sasldb.o db_berkeley.o allockey.o cram.o
digestmd5.o otp.o srp.o kerberos4.o gssapi.o plain.o anonymous.o login.o
ntlm.o sql.o ldapdb.o
ar: db_berkeley.o: No such file or directory
make[2]: *** [libsasl2.a] Error 1
make[2]: Leaving directory
`/home/fabbe/cyrus-sasl2/upstream/cyrus-sasl-2.1.21/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/fabbe/cyrus-sasl2/upstream/cyrus-sasl-2.1.21'
make: *** [all] Error 2

Please tell me if I need to include more of the make output.

I've applied the patch that changes all occurrences of
SASL_DB_BACKEND_STATIC_SRC to SASL_DB_BACKEND_STATIC_SRCS in
config/sasldb.m4, but it doesn't seem to affect this issue at all.
Neither does running make several times or any of the numerous other
fixes and workarounds I've been able to find on this list or SASL
Bugzilla.

I also tried the 2.1.22 beta, but it has other (and more severe) issues
that I don't want to start tackling right now.

Any ideas?

Cheers,
-- 
Fabian Fagerholm <fabbe at paniq.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20051003/b37f99e0/attachment.bin


More information about the Cyrus-sasl mailing list