Not sure if it is going to help but I think that the way the packaging is made differs between distros and OSes so why don't you check the way your distro divides sql into different packages. Perhaps the mysql standard package doesn't do the "magic" for you and you need more packages to add in order to satisfy the dependencies. You should also check if those paths you provide while configuring the source are really the right ones because when you define them the script doesn't bother to autodetect. So why don't you leave the script to find some things by itself (./configure --help will give much help in what the script thinks default and what is autodetected and added if found)

I'm trying to install php-5.2.3 with this command:

./configure --with-apxs=/usr/local/apache/bin/apxs 
--with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config 
mbstring --enable-soap --with-zlib-dir=/usr/lib

I installed correctly:

I got this error: 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 

Config.log shows:
configure:2175: checking for Cygwin environment
configure:2191: cc -c   conftest.c 1>&5
configure: In function `main':
configure:2187: error: `__CYGWIN32__' undeclared (first use in this function)
configure:2187: error: (Each undeclared identifier is reported only once
configure:2187: error: for each function it appears in.)
configure: failed program was:
#line 2180 "configure"
#include "confdefs.h"
int main() { #ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
return __CYGWIN__;
; return 0; }

Can you help me ?

La tua ADSL a € 19.95. GRATIS 2 mesi di canone e l'attivazione!

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to