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

OpenLDAP configure/test error (ITS#975)



Full_Name: Steve Costaras
Version: 2.0.7
OS: Linux v2.4.0 (Slackware deviant)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (207.238.162.3)


My system:
# cat /proc/version
Linux version 2.4.0 (root@ftp) (gcc version 2.95.2 19991024 (release)) #1 SMP
Thu Jan 18 00:29:11 CST 2001

Running Glibc v2.1.3, OpenSSL v0.96

----------------

./configure doesn't seem to find openssl whether I point to to the installed
location (/usr/local/ssl) or to the source location (../openssl-0.9.6).
Output of configure is attached below.  openSSL is working on the system.
When configure is done did a make depend and then a make.  Both appear to have
completed fine.  Make test then dies as below:

----------------
<Configure output>

www:/usr/src/openldap-2.0.7# ./configure --prefix=/usr/local
Copyright 1998-2000 The OpenLDAP Foundation,  All Rights Reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.0.7-Release ...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gnutar... no
checking for gtar... no
checking for tar... tar
checking configure arguments... done
checking for cc... cc
checking for ranlib... ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc   ) works... yes
checking whether the C compiler (cc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
not updating unwritable cache ./config.cache
checking for mawk... (cached) gawk
checking whether ln works... yes
checking whether ln -s works... (cached) yes
checking for sendmail... /usr/bin/sendmail
checking for vi... /usr/bin/vi
checking for finger... /usr/bin/finger
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX OS/2 environment... no
checking for executable suffix... no
checking for object suffix... o
checking for be_app in -lbe... no
checking for cc option to accept ANSI C... none needed
checking for cc depend flag... -M
checking for afopen in -ls... no
checking for EBCDIC... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking POSIX termios... yes
checking whether use of TIOCGWINSZ requires sys/ioctl.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for conio.h... no
checking for crypt.h... yes
checking for direct.h... no
checking for errno.h... yes
checking for fcntl.h... yes
checking for filio.h... no
checking for getopt.h... yes
checking for grp.h... yes
checking for io.h... no
checking for libutil.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for netinet/tcp.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for psap.h... no
checking for pwd.h... yes
checking for process.h... no
checking for resolv.h... yes
checking for sgtty.h... yes
checking for shadow.h... yes
checking for stddef.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/filio.h... no
checking for sys/errno.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/syslog.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for syslog.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for winsock.h... no
checking for sigset in -lV3... no
checking for socket... yes
checking for select... yes
checking types of arguments for select()... int,fd_set *,struct timeval *
checking for regex.h... yes
checking for regfree... yes
checking for compatible POSIX regex... yes
checking for res_query... no
checking for res_query in -lbind... no
checking for __res_query in -lbind... yes
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking INET6_ADDRSTRLEN... yes
checking for sys/un.h... yes
checking for openssl/ssl.h... no
checking for ssl.h... no
configure: warning: Could not locate TLS/SSL package
configure: warning: TLS privacy protection not supported!
checking for ctime_r... yes
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking number of arguments of ctime_r... 2
checking number of arguments of gethostbyname_r... 6
checking number of arguments of gethostbyaddr_r... 8
checking for NT Threads... checking for _beginthread... no
no
checking for pthread.h... yes
checking POSIX thread version... final
checking for LinuxThreads pthread.h... yes
checking for GNU Pth pthread.h... no
checking for sched.h... yes
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... yes
checking for sched_yield... yes
checking for pthread_yield... no
checking for pthread_kill... yes
checking for pthread_rwlock_destroy... yes
checking for pthread_detach with <pthread.h>... yes
checking for pthread_setconcurrency... yes
checking for pthread_getconcurrency... yes
checking for thr_setconcurrency... no
checking for thr_getconcurrency... no
checking for pthread_kill_other_threads_np... yes
checking for LinuxThreads implementation... yes
checking for LinuxThreads consistency... yes
checking if pthread_create() works... yes
checking if select yields when using pthreads... yes
checking for thread specific errno... yes
checking for thread specific h_errno... yes
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb)... yes
checking for Berkeley DB thread support... yes
checking for openlog... yes
checking for termcap.h... yes
checking for ncurses.h... yes
checking for tputs in -ltermcap... yes
checking for sasl.h... no
configure: warning: Could not locate Cyrus SASL
configure: warning: SASL authentication not supported!
configure: warning: Strong authentication not supported!
checking fetch(3) library... no
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline in -lreadline... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for ANSI C header files... (cached) disable
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for ptrdiff_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for ssize_t... yes
checking for caddr_t... yes
checking for socklen_t... yes
checking for member st_blksize in aggregate type struct stat... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for sig_atomic_t... yes
checking struct passwd for pw_gecos... yes
checking struct passwd for pw_passwd... yes
checking if toupper() requires islower()... no
checking for working const... yes
checking if compiler understands volatile... yes
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for 8-bit clean memcmp... yes
checking for strftime... yes
checking for inet_aton()... yes
checking for _spawnlp... no
checking for _snprintf... no
checking for _vsnprintf... no
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for bcopy... yes
checking for closesocket... no
checking for chroot... yes
checking for endgrent... yes
checking for endpwent... yes
checking for flock... yes
checking for getdtablesize... yes
checking for getgrgid... yes
checking for gethostname... yes
checking for getpass... yes
checking for getpassphrase... no
checking for getpwuid... yes
checking for getpwnam... yes
checking for getspnam... yes
checking for gettimeofday... yes
checking for initgroups... yes
checking for lockf... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for pipe... yes
checking for read... yes
checking for recv... yes
checking for recvfrom... yes
checking for setpwfile... no
checking for setgid... yes
checking for setegid... yes
checking for setsid... yes
checking for setuid... yes
checking for seteuid... yes
checking for sigaction... yes
checking for signal... yes
checking for sigset... yes
checking for snprintf... yes
checking for strdup... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strsep... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strspn... yes
checking for sysconf... yes
checking for waitpid... yes
checking for wait4... yes
checking for write... yes
checking for send... yes
checking for sendto... yes
checking for getopt... yes
checking for tempnam... yes
checking declaration of sys_errlist... yes
creating ./config.status
creating Makefile
creating doc/Makefile
creating doc/man/Makefile
creating doc/man/man1/Makefile
creating doc/man/man3/Makefile
creating doc/man/man5/Makefile
creating doc/man/man8/Makefile
creating clients/Makefile
creating clients/finger/Makefile
creating clients/fax500/Makefile
creating clients/gopher/Makefile
creating clients/mail500/Makefile
creating clients/rcpt500/Makefile
creating clients/ud/Makefile
creating clients/maildap/Makefile
creating clients/tools/Makefile
creating include/Makefile
creating libraries/Makefile
creating libraries/libavl/Makefile
creating libraries/liblber/Makefile
creating libraries/libldap/Makefile
creating libraries/libldap_r/Makefile
creating libraries/libldbm/Makefile
creating libraries/libldif/Makefile
creating libraries/liblunicode/Makefile
creating libraries/liblutil/Makefile
creating servers/Makefile
creating servers/slapd/Makefile
creating servers/slapd/back-dnssrv/Makefile
creating servers/slapd/back-ldap/Makefile
creating servers/slapd/back-ldbm/Makefile
creating servers/slapd/back-passwd/Makefile
creating servers/slapd/back-shell/Makefile
creating servers/slapd/back-sql/Makefile
creating servers/slapd/shell-backends/Makefile
creating servers/slapd/tools/Makefile
creating servers/slurpd/Makefile
creating tests/Makefile
creating tests/progs/Makefile
creating contrib/Makefile
creating contrib/saucer/Makefile
creating include/portable.h
creating include/ldap_features.h
creating include/lber_types.h
Please "make depend" to build dependencies
-----------------------

<make test output>

www:/usr/src/openldap-2.0.7# make test
cd tests; make test
make[1]: Entering directory `/usr/src/openldap-2.0.7/tests'
ln: ./data: cannot overwrite directory
make[1]: [test-ldbm] Error 1 (ignored)
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...
./scripts/test000-rootdse: line 35:  1104 Segmentation fault      $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEA
RCHOUT 2>&1
./scripts/test000-rootdse: line 35:  1103 Segmentation fault      $SLAPD -f
$SCHEMACONF -h $MASTERURI -d $LVL $TIMING >$
MASTERLOG 2>&1
./scripts/test000-rootdse: line 35:  1105 Segmentation fault      $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEA
RCHOUT 2>&1
./scripts/test000-rootdse: line 35:  1106 Segmentation fault      $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEA
RCHOUT 2>&1
./scripts/test000-rootdse: line 35:  1107 Segmentation fault      $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEA
RCHOUT 2>&1
./scripts/test000-rootdse: line 35:  1108 Segmentation fault      $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEA
RCHOUT 2>&1
./scripts/test000-rootdse: line 35:  1109 Segmentation fault      $LDAPSEARCH -b
"" -s base -h localhost:$PORT '+' >$SEA
RCHOUT 2>&1
./scripts/test000-rootdse: kill: (1103) - No such pid
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 139)
make[1]: *** [test-ldbm] Error 139
make[1]: Leaving directory `/usr/src/openldap-2.0.7/tests'
make: *** [test] Error 2