Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254645 - Not emerge dev-lang/php-5.2.8-r1 with USE="mysql" flag
Summary: Not emerge dev-lang/php-5.2.8-r1 with USE="mysql" flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 14:33 UTC by Alexey Shildyakov
Modified: 2009-01-13 23:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Config.log (config.log,333.20 KB, text/plain)
2009-01-12 16:14 UTC, Alexey Shildyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shildyakov 2009-01-12 14:33:32 UTC
I have a problem you can see it in http://bugs.gentoo.org/show_bug.cgi?id=239398.

checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock                 
checking for mysql_close in -lmysqlclient_r... no                                      
checking for mysql_error in -lmysqlclient_r... no                                      
configure: error: mysql configure failed. Please check config.log for more information.
 *                                                                                     
 * ERROR: dev-lang/php-5.2.8-r1 failed.                                                
 * Call stack:                                                                         
 *               ebuild.sh, line   49:  Called src_compile                             
 *             environment, line 4499:  Called src_compile_normal                      
 *             environment, line 4618:  Called php5_2-sapi_src_compile                 
 *             environment, line 3531:  Called die                                     
 * The specific snippet of code:                                                       
 *       ./configure --prefix=${destdir} --host=${CHOST} --mandir=${destdir}/man --infodir=${destdir}/info --sysconfdir=/etc --cache-file=./config.cache ${my_conf} ${EXTRA_ECONF} || die "configure failed";                     
 *  The die message:                                                                                             
 *   configure failed


dev-lang/php-5.2.8-r1  USE="apache2 bcmath berkdb bzip2 cdb cgi cli crypt ctype doc exif ftp gd gdbm iconv imap ipv6 kerberos msql mssql mysql ncurses nls odbc pcre posix readline reflection session snmp sockets spell spl sqlite ssl threads tokenizer truetype unicode wddx xml xsl zlib (-adabas) (-birdstep) -calendar -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path (-empress) (-empress-bcs) (-esoob) -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -gd-external -gmp -hash -inifile -interbase -iodbc (-java-external) -json -kolab -ldap -ldap-sasl -libedit -mcve -mhash -mysqli -oci8 -oci8-instant-client -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -soap (-solid) -suhosin (-sybase) (-sybase-ct) -sysvipc -tidy -xmlreader -xmlrpc -xmlwriter -xpm -yaz -zip -zip-external" 0 kB 


mysql installed: dev-db/mysql-5.0.72-r1 and i have right symlinks:
lrwxrwxrwx   1 root root      26 Янв  7 17:22 libmysqlclient_r.so -> libmysqlclient_r.so.15.0.0
lrwxrwxrwx   1 root root      26 Янв  7 17:22 libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
-rwxr-xr-x   1 root root 1531520 Янв  7 17:22 libmysqlclient_r.so.15.0.0                          
lrwxrwxrwx   1 root root      24 Янв  7 17:22 libmysqlclient.so -> libmysqlclient.so.15.0.0       
lrwxrwxrwx   1 root root      24 Янв  7 17:22 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0    
-rwxr-xr-x   1 root root 1523040 Янв  7 17:22 libmysqlclient.so.15.0.0


Reproducible: Always
Comment 1 Rafał Mużyło 2009-01-12 15:48:56 UTC
>> configure: error: mysql configure failed. Please check config.log for more information.
Thank you.
Comment 2 Alexey Shildyakov 2009-01-12 16:14:54 UTC
Created attachment 178193 [details]
Config.log
Comment 3 Rafał Mużyło 2009-01-12 19:28:16 UTC
As you may see, the problem lies not in mysql,
but in msql. Though, it's yet to be seen if that's
a problem with your system only or something reproducible.
Comment 4 Alexey Shildyakov 2009-01-13 23:53:51 UTC
Ok. Thanks. I remove USE="msql" flag and it's compiled!