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 
--enable-
mbstring --enable-soap --with-zlib-dir=/usr/lib

I installed correctly:
mysql-standard-5.0.26
openssl-0.9.8e
mod_ssl-2.8.28-1.3.37
apache_1.3.37

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 
information.



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__
#endif
return __CYGWIN__;
; return 0; }



Can you help me ?





____________________________________________________________
ADSL 4 MB FLAT
La tua ADSL a € 19.95. 
GRATIS 2 mesi di canone e l'attivazione!
http://abbonati.tiscali.it/adsl/prodotti/tc/4flat/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to