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

Bug 71725

Summary: php and mod_php need warning removed about mysqli need MySQL 4.1
Product: Gentoo Linux Reporter: Peter Gordon (RETIRED) <codergeek42>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.ramshacklestudios.com/screenshots/mysqli-needed.png
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Gordon (RETIRED) gentoo-dev 2004-11-18 23:15:17 UTC
I've unmasked and installed MySQL 4.1.7 from Portage, and was about to re-compile php and mod_php in order to use the mysqli extension, but Portage says:

 * 
 * We currently do not support the mysqli extension
 * Support will be added once MySQL 4.1 has been added to Portage
 * 

But 4.1 is already in Portage. Perhaps this can be changed by adding something such as "mysqli ? (>=dev-db/mysql-4.1.0)" to the php and mod_php ebuilds?

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. Add ">=dev-db/mysql-4.1" and dev-perl/DBD-mysql to /etc/portage/package.unmask
3. USE="mysqli" emerge mysql php mod_php


Actual Results:  
>>> dev-db/mysql-4.1.7 merged.
>>> Recording dev-db/mysql in "world" favorites file...

>>> clean: No packages selected for removal.

>>> emerge (2 of 5) dev-php/php-5.0.2-r1 to /
>>> md5 src_uri ;-) php-5.0.2.tar.bz2
 * 
 * We currently do not support the mysqli extension
 * Support will be added once MySQL 4.1 has been added to Portage
 * 

!!! ERROR: dev-php/php-5.0.2-r1 failed.
!!! Function php5-sapi_check_awkward_uses, Line 116, Exitcode 0
!!! mysqli not supported yet
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
I was expecting that php would build with support for the mysqli extension.

pts/0 :: root@peter-computer :: Thu Nov 18 23:11:43 PST 2004 
>>> YOU ARE RUNNING AS ROOT, DO NOT SCREW UP! <<<
/root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2,
glibc-2.3.4.20041102-r0, 2.6.10-rc2-ck2 i686)
=================================================================
System uname: 2.6.10-rc2-ck2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
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="-DPIC -fPIC -O3 -march=athlon-tbird -fprefetch-loop-arrays -ftracer
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-DPIC -fPIC -O3 -march=athlon-tbird -fprefetch-loop-arrays -ftracer
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.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.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi bitmap-fonts bonobo cdr crypt cups
directfb encode erandom f77 fam fbcon flac foomaticdb fortran gcj gdbm gif
gnutls gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg
ldap libg++ libwww mad mikmod mmx monkey motif mozilla mpeg mysql nas ncurses
nls nptl nptlonly objc odbc oggvorbis opengl pam pcre pdflib perl pic png ppds
python quicktime readline ruby sdl slang spell sqlite ssl svg svga tcltk tcpd
tetex tiff truetype usb wxwindows x86 xml xml2 xmms xv zlib "ming libedit posix
inifile iobdc xmlrpc sasl session mysql mysqli innodb bcmath bzlib calendar
ctype curl curlwrappers dbx exif ftp gd iconv imap mhash mime simplexml soap
sockets spl sysvipc tidy tokenizer wddx xpm xsl"
Comment 1 John Nilsson 2004-11-23 15:50:53 UTC
See bug #53886
Comment 2 Peter Gordon (RETIRED) gentoo-dev 2004-11-23 19:28:37 UTC

*** This bug has been marked as a duplicate of 53886 ***
Comment 3 Peter Gordon (RETIRED) gentoo-dev 2004-11-23 19:29:01 UTC
Thanks. I'll try that.
Comment 4 Allen Parker 2004-12-22 09:33:53 UTC
Since MySQL 4.1.7 is in portage, why don't we bug the maintainer of php5-sapi.eclass to fix the eclass?