Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38187 - emerge openldap fails with 'no suitable LDBM backend' found
Summary: emerge openldap fails with 'no suitable LDBM backend' found
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 09:42 UTC by Elan Ruusamäe
Modified: 2004-02-08 12:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2004-01-14 09:42:06 UTC
# emerge openldap -vp

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

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


# emerge openldap
Calculating dependencies ...done!
>>> emerge (1 of 1) net-nds/openldap-2.0.27-r4 to /
>>> md5 src_uri ;-) openldap-2.0.27.tgz
eutils
 *
 * 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
readline
ssl
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/instal

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 db3/db.h... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable

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


Reproducible: Always
Steps to Reproduce:




# emerge info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc noauto sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.
de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j11"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi arts artswrappersuid avi cups directfb encode fbcon gif gpm 
gtk gtk2 imlib javascript jpeg kde libg++ libwww maildir md5sum memlimit mmx 
motif mozilla mpeg ncurses oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline samba sdl slang spell sse ssl svga tiff truetype x86 xml2 
xmms xv zlib"
Comment 1 Elan Ruusamäe 2004-01-19 13:31:48 UTC
i succeeded to compile it with USE=berkdb, so probably ebuild should notice that no LDBM backend selected (not leaving the error for ./configure script to throw)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-02-08 12:19:48 UTC
openldap-2.0 is going away soon, as 2.1.26 is now in stable.