Summary: | php5 configure dies with dbm udeflag enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bartosch Pixa (RETIRED) <darkspecter> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs+gentoo, chutz+bugs.gentoo.org, dominik.karall, kilrogg, sandino, waebbl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 60438 | ||
Attachments: | config.log with dbm enabled |
Description
Bartosch Pixa (RETIRED)
2004-08-19 12:18:54 UTC
Created attachment 37752 [details]
config.log with dbm enabled
I have the same problem. I cannot compile PHP 5.0.1 with anything that requires DBA (ie gdbm, berkdb, dbm, initfile). Configure dies with the same message. Let me know what information is useful to you and I will provide it. could you please do this: emerge '=sys-libs/db-3*' '=sys-libs/db-4.0*' '=sys-libs/db-4.1*' '=sys-libs/db- 4.2*' then try to emerge php5 with various versions of gdbm and see if they all cause the problem or if some work? I tried that, it does not work for me, i have +dba, +dbm, +gdbm, +berkdb Didn't work for me either. I modified the ebuilds to do this: src_unpack() { php5-sapi_src_unpack sed -i -e 's!for LIB in dbm c gdbm!for LIB in dbm c gdbm gdbm_compat!' ${S}/configure } and it works now. *** Bug 84620 has been marked as a duplicate of this bug. *** Hi, Thank you for the fix. I've added this to dev-lang/php-5.1.0_rc1 in the Gentoo PHP Overlay [1]. We hope to get these packages into Portage in the next few weeks, but in the meantime the overlay is available for general use. [1] http://svn.gnqs.org/projects/gentoo-php-overlay/ Best regards, Stu *** Bug 64950 has been marked as a duplicate of this bug. *** *** Bug 71148 has been marked as a duplicate of this bug. *** I'm also getting this with dev-lang/php-5.0.4 and the currently masked dev-lang/php-5.0.5. Could you please also add a fix for these ebuilds to portage? mobile ~ # emerge dev-lang/php -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-lang/php-5.0.4 -adabas -apache +apache2 +bcmath +berkdb -birdstep +bzip2 +calendar -cdb -cgi -cli +crypt +ctype +curl +curlwrappers -db2 +dba +dbase +dbm -dbmaker -debug -discard-path +doc -empress -empress-bcs -esoob +exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase +ftp +gd -gd-external +gdbm +gmp -hardenedphp -hyperwave-api +iconv +imap -informix +inifile -interbase -iodbc +ipv6 -java-external +jpeg +kerberos +ldap +libedit +mcve +memlimit +mhash -ming -msql -mssql +mysql -mysqli +ncurses +nls -oci8 +odbc -oracle7 -ovrimos +pcntl +pcre -pdo-external -pear -pfpro +png +posix -postgres -qdbm -readline -recode -sapdb +sasl +session +sharedext -sharedmem +simplexml +snmp +soap +sockets -solid +spell +spl -sqlite +ssl -sybase -sybase-ct +sysvipc +threads +tidy +tiff +tokenizer +truetype +wddx +xml2 +xmlrpc +xpm +xsl +yaz -zip +zlib 0 kB [ebuild N ] dev-php5/pecl-yaz-1.0.4 15 kB Total size of downloads: 15 kB mobile ~ # emerge info Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13.1-ss2.2-rc5 i686) ================================================================= System uname: 2.6.13.1-ss2.2-rc5 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium-m -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://distfiles.gentoo.org/distfiles/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi alsa apache2 atlas audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bmp bonobo browserplugin bzip2 calendar caps cdparanoia cdr cjk clamav cpdflib cracklib crypt cscope ctype cups curl curlwrappers dba dbase dbm dbx dedicated dga dio directfb divx4linux doc dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode ethereal evo examples exif expat fam fastcgi fbcon ffmpeg fftw flac flash foomaticdb fortran freewnn ftp gb gcj gd gdbm geoip ggi gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile howl iconv ieee1394 imagemagick imap imlib inifile innodb ipv6 jabber java jikes joystick jpeg kerberos krb4 ladcca lapack lcms ldap leim lesstif libcaca libedit libgda libwww lm_sensors logrotate m17n-lib mad maildir matroska mbox mcal mcve memlimit mhash mikmod mime mmap mmx mmx2 mmxext mng motif mozilla mp3 mpeg mpi mule mysql ncurses neXt netcdf nhc98 nis nls nntp nptl ocaml odbc ofx ogg oggvorbis openal opengl osc pam pcmcia pcntl pcre pda pdflib perl php plotutils png portaudio posix ppds prelude profile python qt quicktime radius readline ruby samba sasl scanner sdl session sharedext sharedmem shorten simplexml skey slang slp smartcard smtp sndfile snmp soap sockets source sox speex spell spl sse sse2 ssl svg svga sysfs sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vidix vorbis wddx wifi win32codecs wmf wxwindows xface xfs xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc yaz zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS (In reply to comment #10) > I'm also getting this with dev-lang/php-5.0.4 and the currently masked > dev-lang/php-5.0.5. Could you please also add a fix for these ebuilds to portage? Not sure what you mean, the patch from comment #5 *is* in the eclass. OK, this use flag will be removed, since it's broken and unsupported upstream: http://www.php.net/dba <snip> Dbm is the oldest (original) type of Berkeley DB style databases. You should avoid it, if possible. We do not support the compatibility functions built into DB2 and gdbm, because they are only compatible on the source code level, but cannot handle the original dbm format. </snip> Use flag removed in overlay, will go into portage tomorrow w/ xml-rpc related bugfixes. Closing. |