4.1.2 compilation problems
| From: | Stéphane HENRY | Date: | Fri, 01 Mar 2002 21:09:39 +0000 |
| Subject: | 4.1.2 compilation problems | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6220@lists.php.net to get a copy of this message | ||
After the make command I get the following errors :
make[2]: Entering directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql'
Making all in libmysql
make[3]: Entering directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
make[4]: Entering directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
/bin/sh /home/stef/www/pkg/pkgApache/php-4.1.2/libtool --silent --mode=compile gcc -I.
-I/home/stef/www/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql
-I/home/stef/www/pkg/pkgApache/php-4.1.2/main -I/home/stef/www/pkg/pkgApache/php-4.1.2
-I/usr/local/apache/include -I/home/stef/www/pkg/pkgApache/php-4.1.2/Zend
-I/home/stef/www/pkg/pkgApache/imap-2001a/c-client -I/usr/local/mcal/include
-I/home/stef/www/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql
-I/home/stef/www/pkg/pkgApache/php-4.1.2/ext/xml/expat -DLINUX=22 -DMOD_SSL=208106 -DUSE_HSREGEX
-DEAPI -I/home/stef/www/pkg/pkgApache/php-4.1.2/TSRM -g -O2 -prefer-pic -c libmysql.c
In file included from libmysql.c:5:
global.h:253: warning: redefinition of `uint'
/usr/include/sys/types.h:152: warning: `uint' previously declared here
global.h:254: warning: redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' 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 `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/users/stef/pkg/pkgApache/php-4.1.2/ext'
make: *** [all-recursive] Error 1
Here is my configure command :
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/apache/php/conf
--with-mcal=/usr/local/mcal --enable-ftp --enable-magic-quotes --enable-track-vars
--with-regex=system --enable-trans-sid --disable-debug --enable-pic --enable-inline-optimization
--with-zlib --with-config-file-path=/etc --with-xml --with-mysql
--with-apxs=/usr/local/apache/bin/apxs --with-imap=../imap-2001a --disable-posix-threads
--with-gettext --with-ldap
Thanks for help