[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4671) unable to add objectIdentifier "olmBDBAttributes=olmDatabaseAttributes:1"
Howard Chu wrote:
> If you have back-monitor enabled, you need to regenerate backends.c;
> probably need to rerun configure or config.status. If you don't have
> back-monitor enabled, then you need to enable it. (Or we need to #ifdef
> all of this stuff.)
See my primitive build script below which I *always* use to make test
builds of HEAD. Note the 'make veryclean' followed by ./configure'.
Ciao, Michael.
-------------------------------- snip --------------------------------
. /home/michael/src/build-env-openldap
export CFLAGS="-g -O2"
export CPPFLAGS="-I/usr/include/heimdal -I/opt/openldap-snacc/include
-I/usr/include/sasl -I${BDB
}/include -I${SASL}/include -I${HEIMDAL}/include"
export LDFLAGS="-L${BDB}/lib -L${SASL}/lib -L${HEIMDAL}/lib -R${BDB}/lib
-R${SASL}/lib -R${HEIMDA
L}/lib"
export LD_LIBRARY_PATH="${BDB}/lib:${SASL}/lib:${HEIMDAL}/lib"
# Disable test036-meta-concurrency since it always hangs
export TEST_META=no
PWD=`pwd`
DIRNAME=`dirname ${PWD}`
PREFIX=/opt/`basename ${DIRNAME}`
echo "PREFIX="${PREFIX}
make veryclean
./configure \
--enable-accesslog=yes \
--enable-aci=yes \
--enable-backends=mod \
--enable-cleartext \
--enable-crypt=yes \
--enable-debug=yes \
--enable-denyop=yes \
--enable-dynamic=yes \
--enable-dyngroup=yes \
--enable-kpasswd=yes \
--enable-ldbm-api=berkeley \
--enable-lmpasswd=yes \
--enable-modules=yes \
--enable-overlays=mod \
--enable-ppolicy=yes \
--enable-proxycache=yes \
--enable-rewrite=yes \
--enable-rlookups=yes \
--enable-rwm=yes \
--enable-slapi=yes \
--enable-slp=yes \
--enable-sql=no \
--enable-spasswd=yes \
--enable-wrappers=no \
--prefix=${PREFIX} \
--with-cyrus-sasl=yes \
--with-kerberos=yes \
--with-readline=yes \
--with-threads=yes \
--with-tls=yes
make && make test