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

Re: failure when doing make test



Christian Guenther wrote:

as an unprivilegd user I issue:

$ make distclean
        - no errors

$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--infodir=/usr/share/info --mandir=/usr/share/man --enable-syslog
--enable-proctitle --enable-dynamic --enable-local --with-cyrus-sasl
--with-readline  --with-threads --with-tls --enable-slapd
--enable-cleartext --enable-crypt --enable-lmpasswd --enable-spasswd
--enable-modules --enable-phonetic --enable-rewrite --enable-rlookups
--enable-wrappers  --enable-ldbm --with-ldbm-api=berkeley
--with-ldbm-module=dynamic --with-ldbm-type=auto --enable-bdb
--with-bdb-module=dynamic --enable-dnssrv --enable-dnssrv-module=dynamic
--enable-ldap --with-ldap-module=dynamic --enable-meta
--with-meta-module=dynamic --enable-monitor
--with-monitor-module=dynamic --enable-null --with-null-module=dynamic
--enable-passwd --with-passwd-module=dynamic --enable-slurpd

Christian,

1: It works for many, so it ought to work for you;
2: cut out all of the above and just run:

make clean
./configure
make depend
make test

See if that works. It probably will.

Then add your options one at a time and see if it works then.

Mind you: Half of your options are superfluous, extraneous or ridiculous, so bear that in mind ;) Keep to what you really need.

Here's mine, that does work on RH 7.2+++ with:
Openldap 2.1.22
Sleepycat BDB 4.1.25
Cyrus SASL 2.1.13
Openssl 0.9.7b
gcc 3.0.4

All instaled at standard locations. I've also done the same for RH 9.0, but then at more-or-less standard Linux locations. I have *never* had segfaults with any of this; so, Christian, keep going ...

CPPFLAGS="-I/usr/local/ssl/include/openssl -I/usr/local/include/sasl2 \
-I/usr/include/gdbm -I/usr/local/BerkeleyDB.4.1/include" \
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib \
-L/usr/local/lib/sasl2" \
	./configure \
	--enable-bdb=yes \
	--enable-ldbm=yes \
	--enable-crypt=yes \
	--enable-dnssrv=yes \
	--enable-phonetic=yes \
	--enable-rlookups=yes \
	--enable-ipv6=no \
	--enable-local=yes \
	--enable-referrals=yes \
	--enable-monitor=yes \
	--with-tls \
	--enable-dynamic=yes
make depend && make && make test

Best,

Tony

--
Tony Earnshaw

http://www.billy.demon.nl
Mail: tonni@billy.demon.nl