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

Compiling and configuring openldap



I'm trying to compile openldap 2.2.8 (is this the version I should be using)
for SuSE 9.0.

First of all I patched and compiled Berkeley DB.4.2

After running ./configure I noticed that threading for bdb was not enabled;
is this normal?

checking for Berkeley DB link (-ldb-4.2)... yes
checking for Berkeley DB thread support... no
checking Berkeley DB version for BDB backend... yes

Here are the configure options I used - most of these were snatched from the
SuSE9.0 openldap rpm spec file.  I sthere anything I should be wary of here.
I'm going to use openldap for nss and samba:

export CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include"
export LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib"
./configure --localstatedir=/var/run/slapd \
        --enable-wrappers \
        --enable-crypt \
        --enable-spasswd \
        --enable-spasswd \
        --enable-modules \
        --enable-shared \
        --enable-dynamic \
        --with-tls \
        --with-cyrus-sasl \
        --enable-crypt \
        --enable-ipv6=yes \
        --enable-aci \
        --enable-bdb \
        --enable-rewrite \
        --enable-ldap \
        --with-ldap-module=dynamic \
        --enable-meta \
        --with-meta-module=dynamic \
        --enable-monitor \
        --with-monitor-module=dynamic \
        --enable-perl \
        --with-perl-module=dynamic

Thanks

-- 
  Simon Oliver