Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33718 - openldap with kerberos support fails to emerge
Summary: openldap with kerberos support fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 33737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-17 17:44 UTC by steveb
Modified: 2004-03-08 15:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/openldap-2.0.27-r4/work/openldap-2.0.27/config.log (config.log,175.00 KB, text/plain)
2003-11-18 03:48 UTC, steveb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steveb 2003-11-17 17:44:24 UTC
When I try to emerge openldap, I get errors that Kerberos can not be dedected. 
But I have mit-krb5 installed on my system.

Reproducible: Always
Steps to Reproduce:
1. emerge openldap
2.
3.

Actual Results:  
luna root # emerge -pv openldap

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-nds/openldap-2.0.27-r4  +ssl +tcpd +readline -ipv6 +berkdb 
+gdbm +kerberos +odbc 

luna root # emerge -v openldap 
Calculating dependencies ...done!
>>> emerge (1 of 1) net-nds/openldap-2.0.27-r4 to /
>>> md5 src_uri ;-) openldap-2.0.27.tgz
 * 
 * For linking with SASLv1...
 * emerge cyrus-sasl-1.5.27-r6 (or newest 1.x series build)
 * SASL1=yes emerge net-nds/openldap
 * 
eutils
>>> Unpacking source...
>>> Unpacking openldap-2.0.27.tgz to /var/tmp/portage/openldap-2.0.27-r4/work
 * Applying kerberos-2.0.diff.bz2...                                             
                                             [ ok ]
 * Applying openldap-2.0.27-db3-gentoo.patch...                                  
                                             [ ok ]
 * Applying rfc2252-bork.patch...                                                
                                             [ ok ]
>>> Source unpacked.
eutils
kerberos
readline
ssl
tcpd
odbc
berkdb
gdbm
Copyright 1998-2002 The OpenLDAP Foundation,  All Rights Reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.0.27-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 ar... ar
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium2 -O2 -pipe 
-fomit-frame-pointer -fforce-addr -falign-functions=4  ) works... yes
checking whether the C compiler (gcc -march=pentium2 -O2 -pipe 
-fomit-frame-pointer -fforce-addr -falign-functions=4  ) is a cross-compiler... 
no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... no
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 gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc 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... no
checking whether a 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/sbin/sendmail
checking for vi... /bin/nano
checking for finger... /usr/ucb/finger
checking how to run the C preprocessor... /lib/cpp
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 gcc option to accept ANSI C... none needed
checking for gcc depend flag... -M
checking for afopen in -ls... no
checking for ltdl.h... yes
checking for lt_dlinit in -lltdl... 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 dlopen... no
checking for dlopen in -ldl... yes
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... no
checking for res_query in -lbind... no
checking for __res_query in -lbind... no
checking for res_query in -lresolv... yes
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for inet_ntop... yes
checking for sys/un.h... yes
checking for krb5.h... no
checking for krb.h... no
checking for des.h... no
checking for krb-archaeology.h... no
configure: error: Kerberos detection failed

!!! ERROR: net-nds/openldap-2.0.27-r4 failed.
!!! Function econf, Line 338, Exitcode 1
!!! econf failed

luna root # emerge -pv mit-krb5

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-crypt/mit-krb5-1.2.7  +krb4 

luna root # for i in krb5.h krb.h des.h krb-archaeology.h ; do find /usr/ -iname 
"${i}" ; done        
/usr/include/krb5.h
/usr/include/kerberosIV/krb.h
/usr/athena/include/krb.h
/usr/include/kerberosIV/des.h
/usr/include/openssl/des.h
/usr/athena/include/des.h
/usr/athena/include/krb-archaeology.h
luna root #
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-17 17:49:54 UTC
please attach config.log
Comment 2 steveb 2003-11-18 03:48:58 UTC
Created attachment 20902 [details]
/var/tmp/portage/openldap-2.0.27-r4/work/openldap-2.0.27/config.log
Comment 3 SpanKY gentoo-dev 2003-12-02 21:30:11 UTC
*** Bug 33737 has been marked as a duplicate of this bug. ***
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-27 20:28:50 UTC
try openldap 2.1.x. it should solve the issues (it's going to stable soon).
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-03-08 15:17:56 UTC
2.1.26 is marked stable (and 2.1.27 will be stable very soon).