#47972 [NEW]: php-5.2.4 gives "configure: error: mysql configure failed"
| From: | diwakar211 at gmail dot com | Date: | Wed, 15 Apr 2009 12:41:45 +0000 |
| Subject: | #47972 [NEW]: php-5.2.4 gives "configure: error: mysql configure failed" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-135835@lists.php.net to get a copy of this message | ||
From: diwakar211 at gmail dot com
Operating system: AIX-5.3
PHP version: 5.2.9
PHP Bug Type: *Configuration Issues
Bug description: php-5.2.4 gives "configure: error: mysql configure failed"
Description:
------------
while doing configure in php-5.2.4
# ./configure --prefix=/opt/freeware --with-
apxs2=/opt/freeware/apache/bin/apxs --disable-cgi --enable-cli --
with-config-file-path=/opt/freeware/apache/conf --with-
mysql=/opt/freeware/mysql --with-zlib-dir=/opt/freeware
It gives
configure: error: mysql configure failed. Please check config.log for
more information.
I refered some posts in this site, the solusion they given is to
install 32 bit version of mysql
I have installed mysql-5.0.45-1 32 bit, but still i am getting the
error.
Reproduce code:
---------------
configure
Expected result:
----------------
nothing
Actual result:
--------------
# ./configure --prefix=/opt/freeware --with-
apxs2=/opt/freeware/apache/bin/apxs --disable-cgi --enable-cli --
with-config-file-path=/opt/freeware/apache/conf --with-
mysql=/opt/freeware/mysql --with-zlib-dir=/opt/freeware
"
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
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.
"
--
--
Edit bug report at http://bugs.php.net/?id=47972&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47972&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47972&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47972&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47972&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47972&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47972&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47972&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47972&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47972&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47972&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47972&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47972&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47972&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47972&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47972&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47972&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47972&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47972&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47972&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47972&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47972&r=mysqlcfg