php-5.0.2-r1 configure fails because missing DBA: Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking whether libxml build works... yes checking for OpenSSL support... yes, shared checking for pkg-config... /usr/bin/pkg-config checking for ZLIB support... yes, shared checking if the location of ZLIB install directory is defined... no checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes, shared checking for BZip2 support... yes, shared checking for BZip2 in default path... found in /usr checking for BZ2_bzerror in -lbz2... yes checking whether to enable calendar conversion support... yes, shared checking for cpdflib support... no checking whether to enable ctype functions... yes checking for CURL support... yes, shared checking if we should use CURL for url streams... shared checking for CURL in default path... found in /usr checking for cURL 7.10.5 or greater... libcurl 7.12.0 checking for curl_easy_perform in -lcurl... yes checking for curl_version_info in -lcurl... yes checking whether to enable DBA... yes, shared checking for QDBM support... no checking for gdbm_open in -lgdbm... yes checking for GDBM support... yes checking for NDBM support... no checking for db4 minor version and patch level... ok checking if dba can be used as shared extension... yes checking for Berkeley DB4 support... yes checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for dbminit in -ldbm... no checking for dbminit in -lc... no checking for dbminit in -lgdbm... no configure: error: DBA: Could not find necessary library. !!! ERROR: dev-php/php-5.0.2-r1 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. the full config.log will be attached next. Reproducible: Always Steps to Reproduce: 1. USE="doc -recode soap session xsl" emerge php 2. 3. mars ~ # emerge info Portage 2.0.51 (hardened/x86/2.6, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.6-1.435.2.3 i686) ================================================================= System uname: 2.6.6-1.435.2.3 i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -msse -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="aac accounting acl acpi acpi4linux apache2 apm bcmath berkdb bzlib calendar cdparanoia cdr cdrom clamac clamav crypt ctype curl curlwrappersdba dbase dbm devfs devfs26 dio dlloader dv dvb dvd dvdr dvdread encode erandom exif f77 fam freetype fs ftp gcj gd gdbm geoip gif gmp gnutls guile hal hardened iconv image imagemagick imap inifile innodb intl java javascript jikes jpeg jpeg2k junit ldap lesstif libg++ libwww live lm_sensors lzo lzw lzw-tiff mcal memlimit mhash mime mmap mmx mmx2 mng mp3 mpeg mpeg4 mysql ncurses nethack network nls nptl ntlm objc odbc oggvorbis openal openssh pam parse-clocks pcap pcntl pcre pdf pdflib perl pic pie png pnp posix postgres pthreads pwdb python readline recode samba sasl shared sharedmem simplexml skey slang smime sms snmp sockets spell squid sse ssl svg sysvipc tcltk tcpd threads tiff transcode truetype type1 unicode usb userlocales virus-scan wmf x86 xfs xinetd xml xml2 xmlrpc xpm zlib"
Created attachment 42395 [details] the config.log
what should i do? please give me an advice!
try again with: USE="-dbm" emerge php Currently the dbm flag does not work with php5.
Hallelujah, that seemed to do it! Might it be possible to have the ebuild strip dbm from the USE flags since it is broken?
In fact, on that same note, if there are flags which an ebuild does not currently support, why aren't the ebuilds simply built from the start with those flags stripped out?
same here -- a known non-working flag must not be available for use.
Ok, so if we not set the dba use flag, it will compile nicely. But, i hope this would not be the final solution, and the dba use flag will hide until it will be okay. But the mistery was solved, so i change the status to LATER.
sorry, the flag's name is dbm not dba.