Bug #17809 Updated: Failure When Compiling MySQL
| From: | imajes@php.net | Date: | Wed, 03 Jul 2002 04:53:38 +0000 |
| Subject: | Bug #17809 Updated: Failure When Compiling MySQL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12928@lists.php.net to get a copy of this message | ||
ID: 17809
Updated by: imajes@php.net
Reported By: emrecio@netscape.net
Status: Feedback
Bug Type: Compile Failure
Operating System: RedHat 7.3/Linux
PHP Version: 4.2.1
New Comment:
Reporter, would you let us know if this is fixed or not for you?
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 00:08:17] sniper@php.net
Did you, or did you not try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
???
------------------------------------------------------------------------
[2002-06-17 23:52:16] emrecio@netscape.net
./configure --with-apxs=/usr/sbin/apxs --enable-dbase --enable-ftp
--with-gd --with-ldap --with-imap --with-kerberos=/usr
--with-imap-ssl=/usr --with-mysql makes it fail too. (remove the
imap/kerberos/ssl and it combines fine...
------------------------------------------------------------------------
[2002-06-17 23:47:38] sniper@php.net
This should be fixed in this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
[2002-06-17 23:21:22] emrecio@netscape.net
Compiling PHP-4.2.1 with the following options:
./configure --with-apxs=/usr/sbin/apxs --enable-dbase --enable-ftp
--with-gd --with-ldap --with-imap --with-mysql --with-mm --with-openssl
--with-zlib --enable-bcmath --with-kerberos=/usr
--with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr
--with-imap-ssl=/usr --with-xpm-dir=/usr --with-mhash --with-gdbm=/usr
Causes the following error when it gets to MySQL:
make[4]: Entering directory
`/usr/local/src/php-4.2.1/ext/mysql/libmysql'
/bin/sh /usr/local/src/php-4.2.1/libtool --silent --mode=compile gcc
-I. -I/usr/local/src/php-4.2.1/ext/mysql/libmysql
-I/usr/local/src/php-4.2.1/main -I/usr/local/src/php-4.2.1
-I/usr/include/apache -I/usr/local/src/php-4.2.1/Zend
-I/usr/include/freetype2/freetype -I/usr/include/imap
-I/usr/local/include -I/usr/local/src/php-4.2.1/ext/mysql/libmysql
-I/usr/local/src/php-4.2.1/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/usr/local/src/php-4.2.1/TSRM
-g -O2 -prefer-pic -c libmysql.c
In file included from libmysql.c:5:
global.h:256: warning: redefinition of `uint'
/usr/include/sys/types.h:152: warning: `uint' previously declared here
global.h:257: warning: redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' previously declared
here
global.h:258: warning: redefinition of `ulong'
/usr/include/sys/types.h:150: warning: `ulong' previously declared
here
In file included from libmysql.c:12:
m_string.h:180: parse error before `__extension__'
m_string.h:180: parse error before `&&'
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory
`/usr/local/src/php-4.2.1/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/src/php-4.2.1/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.1/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.1/ext'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17809&edit=1