#47972 [Opn->Fbk]: php-5.2.4 gives "configure: error: mysql configure failed"
| From: | jani@php.net | Date: | Thu, 16 Apr 2009 10:42:42 +0000 |
| Subject: | #47972 [Opn->Fbk]: php-5.2.4 gives "configure: error: mysql configure failed" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-135873@lists.php.net to get a copy of this message | ||
ID: 47972
Updated by: jani@php.net
Reported By: diwakar211 at gmail dot com
-Status: Open
+Status: Feedback
-Bug Type: *Configuration Issues
+Bug Type: MySQL related
Operating System: AIX-5.3
-PHP Version: 5.2.4 - 5.2.9
+PHP Version: 5.2.9
New Comment:
How about doing what configure tells you: Check config.log ?
Previous Comments:
------------------------------------------------------------------------
[2009-04-16 04:39:29] diwakar211 at gmail dot com
Thanks for the reply
i have used the latest version that you provided
http://snaps.php.net/php5.2-latest.tar.gz
but still i am getting same issue, please help me out
------------------------------------------------------------------------
[2009-04-15 14:21:30] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-04-15 12:41:44] diwakar211 at gmail dot com
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 this bug report at http://bugs.php.net/?id=47972&edit=1