1) I've done the ./configure with :
env \
ac_cv_func_pthread_create=no ol_cv_kthread_flag=no \
ol_cv_pthread_flag=no ol_cv_pthreads_flag=no \
ol_cv_thread_flag=no \
CC="gcc" \
CPPFLAGS="-I/usr/local/BerkeleyDB/include -I/usr/local/inlcude" \
LDFLAGS="-L/usr/local/BerkeleyDB/lib -L/usr/local/lib" \
LIBS=-lrt \
./configure --without-wrappers
2) make depend and make are done successfully.
3) then, with a make test fail
# make test
cd tests; make test
ln: cannot create ./data: File exists
ln: cannot create ./schema: File exists
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Killed
5112 Killed
Killed
Killed
Killed
Killed
Killed
./scripts/test000-rootdse: kill: no such process
ld.so.1: ../clients/tools/ldapsearch: fatal: libsasl.so.7: open failed: No such file or directory
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 137)
*** Error code 137
make: Fatal error: Command failed for target `test-ldbm'
Current working directory /export/home/robert/openldap-2.0.7/tests
*** Error code 1
make: Fatal error: Command failed for target `test'
kate@asiacontent.com |