[Date Prev][Date Next] [Chronological] [Thread] [Top]

Incompatible version.. How come? (openldap2.2.26+bdb-4.2.52)

  I'm trying to build open ldap in my system running:

#uname -a
FreeBSD gwenever.camlann.pregi.net 5.4-RC3 FreeBSD
5.4-RC3 #1: Wed Apr 27 08:10:57 PHT 2005    

I committed the following steps: (I'm installing each
software from their sources).

1. installed openssl-0.9.7g
2. installed bdb 4.2.52
  2.1 added 4(four) patches available in sleepycat for
this version)
3. installed heimdal-0.6.4 pointing bdb directory
during configure.

4. Configured openldap-2.2.26 with:

./configure --prefix=/usr/local/openldap
--enable-wrappers --enable-spasswd --enable-passwd
and I ended up with this:

checking Berkeley DB version for BDB backend... no
configure: error: BDB/HDB: BerkeleyDB version

How come? According to openldap docs, I must use 4.2
version of Berkeley DB(latest), that's what I did. I
even applied all 4 patches for that particular version
of BDB (4.2.52) by running:

# patch -p0 < patch. upto patch.

Am I doing the right order|versions in which
dependencies should be installed? This is my plan:

First: openssl-0.9.7g -> not dependent on any other
Second: db-4.2.52 -> same as above
Third: heimdal-0.6.4 -> this is the mechanism I have
chosen for sasl.
Fourth: openldap-2.2.26 -> my compilation journey ends
Last: cyrus-sasl-2.1.20 -> 

Any help is greatly appreciated.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around