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

Re: (ITS#4705) 11866 Segmentation fault (core dumped)



Pierangelo Masarati wrote:
> michael@stroeder.com wrote:
> 
> configured with BDB 4.2 (+ patches) as
> 
> ./configure \
> --enable-modules \
> --enable-dynamic \
> --enable-backends=mod \
> --enable-overlays=mod \
> --enable-perl=no

This minimalistic configure does not even compile on my system.

> passes all tests

I think this error has something to do with the solution for ITS#4671.

> Note that I typically use "make distclean" to regenerate things.

This also does not work. See my current build script below.

Ciao, Michael.

--------------------------------- snip ---------------------------------
. /home/michael/src/build-env-openldap

#export CFLAGS="-g -O4 -march=pentium4"
export CFLAGS="-g -O2"
export CPPFLAGS="-I/usr/include/heimdal -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${HEIMDAL}/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 distclean
./configure \
  --enable-dynamic \
  --enable-modules=yes \
  --enable-backends=mod \
  --enable-overlays=mod \
  --enable-aci=yes \
  --enable-cleartext \
  --enable-crypt=yes \
  --enable-debug=yes \
  --enable-kpasswd=yes \
  --enable-lmpasswd=yes \
  --enable-rewrite=yes \
  --enable-rlookups=yes \
  --enable-slapi=yes \
  --enable-slp=yes \
  --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