RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing [SOLVED]
Thanks to the people who tried to help me figure this out. It turns out the issue with emerging php (missing mysql libraries) had to do with a buggy custom eclass that had been put by this box's previous admin under one of the portdir_overlay directories. When I renamed the overlay'ed eclass dir to eclass.old, I was instantly able to emerge mysql (and it actually emerged this time). Once that was done, I was able to emerge php with no problems. Thanks again, Jason -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing
-Original Message- From: kashani [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 11:04 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing Jason Ausmus wrote: Okay, here's another one: I can't emerge dev-lang/php-5.1.4. It fails like this: - checking for mSQL support... no checking for MSSQL support via FreeTDS... yes checking for dnet_addr in -ldnet_stub... no 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 configure: error: Cannot find MySQL header files under /usr/lib/mysql. Note that the MySQL client library is not bundled anymore! !!! ERROR: dev-lang/php-5.1.4 failed. I see that you're updating from 5.1.1 which was released several month ago, maybe Dec/Jan? Around that time slotted Mysql was active. It is possible that you Mysql libs are installed into /usr/lib/mysql-500 or something similar? Assuming you do I'd update Mysql first to a non slotted build and then try to install PHP again. ls /usr/lib/my* returns nothing. BTW if you're messing with Mysql 5.0 there was a default charset change from latin1 to utf8 around that time as well so watch your my.conf file. Bugzilla was very unhappy when its charsets suddenly changed. `find / -iname my.conf` returns nothing. Where should I look for it? Any other ideas, or any other info I can give to help figure this out? Thanks, Jason -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
Jason Ausmus wrote: BTW if you're messing with Mysql 5.0 there was a default charset change from latin1 to utf8 around that time as well so watch your my.conf file. Bugzilla was very unhappy when its charsets suddenly changed. `find / -iname my.conf` returns nothing. Where should I look for it? Any other ideas, or any other info I can give to help figure this out? Thanks, Jason Someone typoed - the file is actually my.cnf. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing
-Original Message- From: Jason Ausmus [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 9:46 AM To: gentoo-user@lists.gentoo.org Subject: RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing -Original Message- From: kashani [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 11:04 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing Jason Ausmus wrote: Okay, here's another one: I can't emerge dev-lang/php-5.1.4. It fails like this: - checking for mSQL support... no checking for MSSQL support via FreeTDS... yes checking for dnet_addr in -ldnet_stub... no 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 configure: error: Cannot find MySQL header files under /usr/lib/mysql. Note that the MySQL client library is not bundled anymore! !!! ERROR: dev-lang/php-5.1.4 failed. I see that you're updating from 5.1.1 which was released several month ago, maybe Dec/Jan? Around that time slotted Mysql was active. It is possible that you Mysql libs are installed into /usr/lib/mysql-500 or something similar? Assuming you do I'd update Mysql first to a non slotted build and then try to install PHP again. ls /usr/lib/my* returns nothing. BTW if you're messing with Mysql 5.0 there was a default charset change from latin1 to utf8 around that time as well so watch your my.conf file. Bugzilla was very unhappy when its charsets suddenly changed. `find / -iname my.conf` returns nothing. Where should I look for it? Any other ideas, or any other info I can give to help figure this out? Thanks, Jason -- gentoo-user@gentoo.org mailing list In case this helps, I have this weird thing going on with mysql: if I try to unmerge then reemerge mysql, this is what it looks like: --- h0486tux etc # emerge -C mysql dev-db/mysql selected: 5.0.21 protected: none omitted: none 'Selected' packages are slated for removal. 'Protected' and 'omitted' packages will not be removed. Waiting 5 seconds before starting... (Control-C to abort)... Unmerging in: 5 4 3 2 1 Unmerging dev-db/mysql-5.0.21... No package files given... Grabbing a set. Regenerating /etc/ld.so.cache... * GNU info directory index is up-to-date. h0486tux etc # --- h0486tux etc # emerge mysql Calculating dependencies... done! Emerging (1 of 1) dev-db/mysql-5.0.21 to / checking ebuild checksums ;-) checking auxfile checksums ;-) checking miscfile checksums ;-) Unpacking source... Source unpacked. Compiling source in /var/tmp/portage/mysql-5.0.21 ... Source compiled. Test phase [not enabled]: dev-db/mysql-5.0.21 Install mysql-5.0.21 into /var/tmp/portage/mysql-5.0.21/image/ category dev-db Completed installing mysql-5.0.21 into /var/tmp/portage/mysql-5.0.21/image/ man: Merging dev-db/mysql-5.0.21 to / Safely unmerging already-installed instance... No package files given... Grabbing a set. Original instance of package unmerged safely. Regenerating /etc/ld.so.cache... dev-db/mysql-5.0.21 merged. Recording dev-db/mysql in world favorites file... No packages selected for removal by clean. Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. h0486tux etc # --- Both steps take about 20 seconds to complete. What is actually being done here?... because it doesn't seem like anything is happening at all. Jason -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing
-Original Message- From: Ryan Tandy [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 1:31 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing Jason Ausmus wrote: BTW if you're messing with Mysql 5.0 there was a default charset change from latin1 to utf8 around that time as well so watch your my.conf file. Bugzilla was very unhappy when its charsets suddenly changed. `find / -iname my.conf` returns nothing. Where should I look for it? Any other ideas, or any other info I can give to help figure this out? Thanks, Jason Someone typoed - the file is actually my.cnf. -- gentoo-user@gentoo.org mailing list Thanks. Okay, so I did a find / -iname my.cnf and this was the result: --- h0486tux ~ # find / -iname my.cnf /etc/mysql.old/my.cnf /usr/local/portage/dev-db/mysql/files/my.cnf /usr/portage/dev-db/mysql/files/my.cnf /home/ausmusj/downloads/ebuilds/dev-db/mysql/files/my.cnf find: /proc/18124/task/18124/fd/5: No such file or directory find: /proc/18124/fd/5: No such file or directory Is there anything weird about this output? It doesn't seem like everything is in place... There is no /etc/mysql directory. Jason -- gentoo-user@gentoo.org mailing list
[gentoo-user] dev-lang/php-5.1.4 emerge failing
Okay, here's another one: I can't emerge dev-lang/php-5.1.4. It fails like this: - checking for mSQL support... no checking for MSSQL support via FreeTDS... yes checking for dnet_addr in -ldnet_stub... no 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 configure: error: Cannot find MySQL header files under /usr/lib/mysql. Note that the MySQL client library is not bundled anymore! !!! ERROR: dev-lang/php-5.1.4 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile php-5.1.4.ebuild, line 107: Called src_compile_normal php-5.1.4.ebuild, line 213: Called php5_1-sapi_src_compile php5_1-sapi.eclass, line 573: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant. h0486tux / # - There are several other packages that fail with the same symptoms. Emerge --info: - h0486tux / # emerge --info Portage 2.1_rc1-r3 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r3, 2.6.11-gentoo-r7 i686) = System uname: 2.6.11-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.17 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS=x86 ~x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-march=pentium4 -O3 -pipe -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control CONFIG_PROTECT_MASK=/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d CXXFLAGS=-march=pentium4 -O3 -pipe -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://gentoo.osuosl.org/; MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage /usr/local/portage-steev SYNC=rsync://ssvsdev.hlyw.pvt/portage USE=X Xaw3d a52 aac aalib acl aclpi acpi adns aim alsa apache2 apm arts artworkextra atlas audiofile avalon avi bash-completion bcmath berkdb bitmap-fonts bl bonobo browserplugin bzip2 bzlib cairo calendar cdb cddb cdr chroot cli cluster cpdflib crypt cscope ctype cups curl curlwrappers dba dbase dbm dbus dbx dedicated dga dio directfb divx4linux dmacs dri dts dv dvb dvd dvdr dvdread dynagraph edl eds emacs-w3 emboss encode esd ethereal evo examples exif extraengine fam fastcgi fbcon fdftk ffmpeg fftw filepro firebird firefox flac flash flatfile font-server foomaticdb fortran fpx freetds ftp gb gcj gd gdbm geometry ggi gif gimpprint ginac glitz glut gmp gnome gnomedb gnustep gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal icq imagemagick imap imlib inifile innodb insecure-savers isdnlog ithreads jabber jack java javamail javascript jbig jikes jms jmx jpeg jpeg2k junit jython kerberos krb4 ladcca lcms ldap leim libcaca libg++ libgda libwrap libwww live mad maildir mailwrapper mcal mdb memlimit mhash mikmod milter mime ming mmap mmx mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpi msn mssql mysql mysqli nas ncurses netcdf nethack network new-login nis nls nntp nocd nodrm nptl nptlonly objc oci8 odbc ofc offensive ogg oggvorbis openal opengl oracle oscar oss pam pascal pcntl pcre pda pdflib perl perlsuid php plotutils png portaudio posix postgres ppds pppd python qdbm qt quicktime raid readline real recode reflection rhino rplay ruby samba sasl sdk sdl server session shared sharedmem silc silverxp simplexml slang slp sndfile snmp soap sockets socks5 source sox speex spell spl sql sqlite sse sse2 ssl stroke subversion svg svga sysvipc szip tcltk tcpd tetex tga theora threads tidy tiff tokenizer toolbar truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts video_cards_rage128 videos vorbis wddx win32codecs winbind wmf wxwindows x86 xanim xface xine xinerama xml xml2 xmlrpc xmms xorg
Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
Jason Ausmus wrote: Okay, here's another one: I can't emerge dev-lang/php-5.1.4. It fails like this: - checking for mSQL support... no checking for MSSQL support via FreeTDS... yes checking for dnet_addr in -ldnet_stub... no 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 configure: error: Cannot find MySQL header files under /usr/lib/mysql. Note that the MySQL client library is not bundled anymore! !!! ERROR: dev-lang/php-5.1.4 failed. I see that you're updating from 5.1.1 which was released several month ago, maybe Dec/Jan? Around that time slotted Mysql was active. It is possible that you Mysql libs are installed into /usr/lib/mysql-500 or something similar? Assuming you do I'd update Mysql first to a non slotted build and then try to install PHP again. BTW if you're messing with Mysql 5.0 there was a default charset change from latin1 to utf8 around that time as well so watch your my.conf file. Bugzilla was very unhappy when its charsets suddenly changed. kashani -- gentoo-user@gentoo.org mailing list