Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68495

Summary: php-5.0.2-r1 configure fails because missing DBA
Product: Gentoo Linux Reporter: Csaba Tóth <tsabi-gentoo>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED LATER    
Severity: normal CC: wschlich
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the config.log

Description Csaba Tóth 2004-10-21 22:01:25 UTC
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"
Comment 1 Csaba Tóth 2004-10-21 22:03:40 UTC
Created attachment 42395 [details]
the config.log
Comment 2 Csaba Tóth 2004-10-23 18:31:14 UTC
what should i do?
please give me an advice!
Comment 3 Jan Gutter 2004-11-01 02:08:17 UTC
try again with:
USE="-dbm" emerge php

Currently the dbm flag does not work with php5.
Comment 4 Chris Verges 2004-11-15 00:29:42 UTC
Hallelujah, that seemed to do it!  Might it be possible to have the ebuild strip dbm from the USE flags since it is broken?
Comment 5 Chris Verges 2004-11-15 00:33:04 UTC
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?
Comment 6 Wolfram Schlich (RETIRED) gentoo-dev 2005-01-26 05:53:45 UTC
same here -- a known non-working flag must not be available for use.
Comment 7 Csaba Tóth 2005-02-06 09:10:30 UTC
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.
Comment 8 Csaba Tóth 2005-02-06 09:11:46 UTC
sorry, the flag's name is dbm not dba.