# 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"
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)
openldap-2.0 is going away soon, as 2.1.26 is now in stable.