#47972 [Opn->Fbk]: php-5.2.4 gives "configure: error: mysql configure failed"

From: Date: Wed, 15 Apr 2009 14:21:31 +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-135836@lists.php.net to get a copy of this message
ID: 47972 Updated by: iliaa@php.net Reported By: diwakar211 at gmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: AIX-5.3 PHP Version: 5.2.9 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#135836) next »