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

Re: Solaris 2.6 tests failed

At 08:09 AM 6/30/99 +0200, ck1@irz301.inf.tu-dresden.de wrote:
>I'm trying to port OpenLDAP 1.2.1 to Solaris 2.6.

Give 1.2.3 a spin.  It includes a number of fixes which
may resolve this.  If it 1.2.3 segfaults, be sure to
file an ITS (http://www.openldap.org/) providing a debugger
traceback and the last page of test-db/master.log.

>When making the tests I ran into the following error:
>Testing slapd searching...
>Waiting 5 seconds for slapd to start...
>Testing exact searching...
>Testing OR searching...
>Testing AND matching and ends-with searching...
>4865 Segmentation Fault
>Testing NOT searching...
>./scripts/test003-search: kill: no such process
>Filtering ldapsearch results...
>Filtering original ldif used to create database...
>Comparing filter output...
>./test-db/ldapsearch.flt ./test-db/ldif.flt differ: char 5816, line 158
>Comparison failed
>>>>>> ./scripts/test003-search failed (exit 1) 
>I configured OpenLDAP with the env and options below:
>LIBS=-lpthread -lposix4 -lregex
>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 ./configure --with-ldbm-api=gdbm \
>--enable-passwd --enable-shell --enable-slurpd \
>--x-includes=/usr/X11R6/include/X11 --x-libraries=/usr/X11R6/lib

Seems a little odd to include -lpthread in $LIBS and then tell
configure that pthread_create() doesn't exist in $LIBS.