4.2.0 wont compile
| From: | Mefistofeles | Date: | Tue, 23 Apr 2002 05:26:22 +0000 |
| Subject: | 4.2.0 wont compile | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6721@lists.php.net to get a copy of this message | ||
I've compile Apache 2.0.35 with --enable-so then
in the php directory done
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
and make
which gives me
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:5:
global.h:498:22: operator 'EOL' has no left operand
In file included from libmysql.c:12:
m_string.h:205:36: operator '==' has no right operand
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory `/usr/local/src/php-4.2.0/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext'
make: *** [all-recursive] Error 1
[root@h28n2fls31o826 php-4.2.0]#
I'm obviously missing something vital. Any ideas what?
/Mef.