Re: [PHP-DB] __CYGWIN32__
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) [EMAIL PROTECTED] 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 15 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
Re: [PHP-DB] __CYGWIN32__
I installed mysql using source files (mysql_standard_5.0.26_linux_i686.tar) and not according to my distro (Fedora Core 2 - 2.6.5-1.358). If I cut '--with-mysqli' and '--with-mysql' in configure command I have no errors so I can confirm problem is mysql. I verified directories of these parameters and they are ok: --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib-dir=/usr/lib I tested mysql with utility mysql-test-running and it's ok as well as it' ok DB connection with mysql. - Original Message - From: Goltsios Theodore To: php-db@lists.php.net Sent: Monday, August 06, 2007 9:45 AM Subject: Re: [PHP-DB] __CYGWIN32__ 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) [EMAIL PROTECTED] 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/m ysql --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 15 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] __CYGWIN32__
Hi This is the wrong place to be asking really. This list is for using PHP with databases, not installing PHP even if it's with a database. While I'm far from being a Linux Guru, I can't think of any reason that you should get any references to CygWin, which is a Windows package to allow a Unix-Like environment. You need a list like the developers one, where they're more knowledgeable with building PHP/MySQL -- Niel Archer -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: [PHP-DB] __CYGWIN32__
El mensaje ha llegado correctamente pero... estoy de vacaciones hasta el próximo 20 de Agosto. Atenderé tu correo a la vuelta. Si por el motivo que fuere necesitas ponerte en contacto con ADIMEDIA puedes hacerlo en [EMAIL PROTECTED] o en el Telf. 934 63 57 37. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php