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

Re: slapd fails to start



>>>>> "Hugo" == Hugo van der Kooij <Hugo.van.der.Kooij@caiw.nl> writes:
Hugo> 
Hugo> slapd does come with IP v6 support. I think configure guessed you
Hugo> can handle them. I suggest you disable them in the configure
Hugo> phase. Perhaps some other settings need your attention as well.

I tried this but slapd still tries to open an IPv6 socket.  Here is the
output of configure:

./configure --enable-spasswd --enable-wrappers --disable-ipv6

Copyright 1998-2000 The OpenLDAP Foundation,  All Rights Reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.0.0-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... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
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/bin/ld
checking if the linker (/usr/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/bin/ld) is GNU ld... yes
checking whether the linker (/usr/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/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) mawk
checking whether ln works... yes
checking whether ln -s works... (cached) yes
checking for sendmail... /usr/lib/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 getaddrinfo... yes
checking for sys/un.h... yes
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 openssl/ssl.h... yes
checking for ssl.h... no
checking for SSLeay_add_ssl_algorithms in -lssl... yes
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 tcpd.h... yes
checking for main in -lnsl... yes
checking for openlog... yes
checking for termcap.h... no
checking for ncurses.h... no
checking for tputs in -ltermcap... no
checking for initscr in -lncurses... no
checking for sasl.h... yes
checking for sasl_client_init in -lsasl... yes
checking fetch(3) library... no
checking for readline/readline.h... no
checking for readline/history.h... no
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 contrib/web_ldap/Makefile
creating include/portable.h
include/portable.h is unchanged
creating include/ldap_features.h
include/ldap_features.h is unchanged
creating include/lber_types.h
include/lber_types.h is unchanged
Please "make depend" to build dependencies

-- 
Laurent.