October 22nd, 2003, 08:30 AM
problem configuring ldap-2.1.22
bd4.1-25 compilled and installed in /usr/local
trying to configure ldap-2.1.22, however it gives me a hard time with:
checking for Berkeley DB link (default)... yes
checking for Berkeley DB thread support... no
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible
I have checked the db.h for existence od VERSION_MAJOR/MINOR = 4/1. It is there.
was there too. What now? Is there a bug?
./configure --prefix=/usr/local/openldap --with-cyrus-sasl --with-threads --with-tls --enable-crypt --enable-spasswd --enable-slp --enable-perl --enable-slurpd
October 22nd, 2003, 12:10 PM
October 22nd, 2003, 03:43 PM
It moved on. I use a script that had these:
Despite this success I still have trubles compiling Cyrus-SASL.
And that doesn't look like a missing component.
More info I'll drop tomorrow from work.
By the way, is there something like FreeBSD devel packages as in Linux?
October 22nd, 2003, 03:54 PM
there is ports for freebsd
October 22nd, 2003, 04:04 PM
I usualy use ftp. Where can I find it? I can locate Cyrus-SASL package, but the ldap configure script is complaining about missing include files of Cyrus-SASL (I suppose the header files).
October 22nd, 2003, 04:22 PM
October 24th, 2003, 06:16 AM
I have aproblem making test that kick me off with:
I need slurpd and it requires thread supporting ldap.
The default is --with-thread [auto], but if I axplicitly opt --with-thread it still fails to make test till the successful end.
I also found:
include/ldap_int_thread.h:177:#define NO_THREADS 1
1. Why is that? It disables threads, but why when slurping may be defaultly needed?
I'll test it and may find a solution before a reply. Thanky anyways for a note.
October 29th, 2003, 11:49 PM
I had this problem to. It appeared to me that my OS (FreeBSD) had a version installed already. To get arround this I downloaded the latest version of sleepycat (The DB) and installed it in it's own directory. Next I added the "-I/usr/local/<db directory>/include" to the make command. This fixed the problem...