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

Bug 125115

Summary: dev-lang/php-5.1.1 with mysql-5.0.18-r30 failed
Product: Gentoo Linux Reporter: Manuel <mapelo>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WONTFIX    
Severity: normal CC: mysql-bugs
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel 2006-03-05 12:07:27 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en"
MAKEOPTS="-j3"
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="16bit 64bit 7zip X a52 aac aalib accessibility acl acpi alsa apache2 apm arts artswrappersuid artworkextra asf audiofile authfile avi berkdb big-tables bitmap-fonts bluetooth browserplugin bzip2 calendar caps cdb cdparanoia cdr cpudetection crafty crypt css cups curl dba dbase dbus dga dio dri dts dv dvb dvd dvdr dvdread dxr3 eds emboss encode esd exif expat fam fame fastcgi ffmpeg fftw firefox flac flash font-server fontconfig foomaticdb fortran fpx freetts ftp gd gdbm ggi gif gimpprint ginac glut gmp gnokii gnuchess gphoto2 gpm graphviz gstreamer gtk gtk2 hal icq idn imagemagick imap imlib ipv6 jabber jack java javascript jbig jpeg jpeg2k junit kde kdeenablefinal kdexdeltas kerberos kig-scripting krb4 lcms ldap libcaca libg++ libwww lirc lm_sensors logrotate lua lzo mad maildir mailwrapper mbox md5sum memlimit mhash mikmod mime ming mjpeg mmx mmxext mng motif mozcalendar mozdevelop mozilla mozsvg mp3 mpeg mpeg2 mplayer msn msql musepack musicbrainz mysql nas ncurses network new-login nfs nls nsplugin odbc ogg oggvorbis openal opengl oss pam pascal pcre pda pdflib perforce perl php png povray prelude pvm python qt quicktime quotas readline samba scanner sdl sendfile shaper skey slang smp sms sndfile softquota speex spell sql sqlite sse sse2 ssl subversion svg syslog tcltk tcpd theora tidy tiff tokenizer tomsfastmath tools transcode truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd verbose vfat vhost vhosts vidix visualization vorbis wddx wifi win32codecs winbind wma wma123 wmf wxgtk1 x86 xface xine xinetd xml xml2 xmldoclet xmlreader xmms xpm xprint xsl xtended xv xvid xvmc yahoo yv12 zip zlib linguas_es linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
-------------------

emerge =dev-lang/php-5.1.1 failed with this:

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... /var/run/mysqld/mysqld.sock
checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

!!! ERROR: dev-lang/php-5.1.1 failed.
!!! Function php5_1-sapi_src_compile, Line 547, Exitcode 1
!!! configure failed

Mysql installed is mysql-5.0.18-r30 and it runs ok. This is the first and unique installation of mysql into my box. 'eselect mysql set 1' (to this version) runs ok. But php-5.1.1 can not complete the 'configure' and compile so.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 12:12:06 UTC
Well, I'd recommend to "downgrade" to mysql-5.0.18. The slotted mysql is going away soon.
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-03-12 05:54:57 UTC
This is a problem in your MySQL installation, not PHP.
Anyway, please don't use the slotted MySQL (5.0.18-r30) but only the normal one (5.0.18 or 5.0.18-r60), as the slotted one will be removed. http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml contains some instructions to migrate to a non-slotted MySQL.
Best regards, CHTEKK.