| Summary: | PHP unable to be compiled with Berkeley DB2 extensions | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Darcy <darcy> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
$ euse -i db2 global use flags (searching: db2) [- ] db2 - Enables support for IBM DB2 database server I don't see what are you requesting. There is no version 2 of Berkeley DB in portage. |
PHP can be compiled with the Berkeley DB4 extensions, but not the DB2 extensions. When using the DB2 USE flag, IBM DB2 support is compiled in, not the Berkeley DB2 extensions. There is no way to include version 2 or even version 3 of the Berkeley DB installed. Just version 4. Reproducible: Always Steps to Reproduce: 1. Emerge PHP with db2,dba USE flag Actual Results: Emerge works as it should have, IBM DB2 support is requested, db4 is installed Expected Results: Berkeley DB2 should have been installed instead of the IBM DB2. PHP's ./configure --with-db2[=DIR] DBA: Include Berkeley DB2 support DB-2.7.7 does work on the system when compiled outside of the portage tree manually --with-ibm-db2[=DIR] Include IBM DB2 support. DIR is the DB2 base install directory, defaults to /home/db2inst1/sqllib Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.11-gentoo-r5SBnet i686) ================================================================= System uname: 2.6.11-gentoo-r5SBnet i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo/ ftp://gentoo.agsn.ca/ http://gentoo.llarian.net/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo ftp://sunsite.ualberta.ca/pub/Linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirrors.tera-byte.com/gentoo-portage" USE="x86 alsa apm bcmath berkdb bitmap-fonts bzlib calendar crypt curl dba eds emboss encode foomaticdb fortran ftp gd gdbm gif gpm gstreamer gtk2 iconv imagemagick imap imlib ipv6 jpeg libg++ libwww mad maildir mcal mikmod mmx mp3 mysql ncurses nls odbc ogg oggvorbis pam perl php png python qmail quicktime readline session sharedmem slang sockets spamassassin spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xml-3dnow xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY