Re: __CYGWIN32__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

sampei02@xxxxxxxxxx wrote:
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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux