compiling failed ...

[email protected] (Patterson)
Newsgroups php.install
Message-ID <[email protected]>
HI,

 I am trying to compile the last PHP 5.3.0 source, i have the  apache 
2.2.11 source ...

~/fossSrc/php-5.3.0> make

/bin/sh /home/sysadmin/fossSrc/php-5.3.0/libtool --silent 
--preserve-dup-deps --mode=compile gcc  -I/usr/sfw/apache2/include  
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/usr/sfw/apr/include   -I/usr/sfw/apr-util/include -I/usr/include 
-Isapi/apache2handler/ 
-I/home/sysadmin/fossSrc/php-5.3.0/sapi/apache2handler/ -DPHP_ATOM_INC 
-I/home/sysadmin/fossSrc/php-5.3.0/include 
-I/home/sysadmin/fossSrc/php-5.3.0/main 
-I/home/sysadmin/fossSrc/php-5.3.0 
-I/home/sysadmin/fossSrc/php-5.3.0/ext/date/lib 
-I/home/sysadmin/fossSrc/php-5.3.0/ext/ereg/regex -I/usr/include/libxml2 
-I/usr/include/openssl -I/usr/sfw/pcre/include -I/usr/sfw/curl/include 
-I/usr/include/enchant -I/usr/include/freetype2 -I/usr/include/mysql 
-I/usr/sfw/postgresql/include -I/usr/include/pspell -I/usr/include/tidy 
-I/home/sysadmin/fossSrc/php-5.3.0/TSRM 
-I/home/sysadmin/fossSrc/php-5.3.0/Zend    -I/usr/include -g -O2 
-fvisibility=hidden  -prefer-non-pic -c 
/home/sysadmin/fossSrc/php-5.3.0/sapi/apache2handler/sapi_apache2.c -o 
sapi/apache2handler/sapi_apache2.lo
In file included from 
/home/sysadmin/fossSrc/php-5.3.0/sapi/apache2handler/sapi_apache2.c:43:

/usr/sfw/apache2/include/ap_mpm.h:91: error: expected declaration 
specifiers or '...' before 'server_rec'
/usr/sfw/apache2/include/ap_mpm.h:115: error: expected ';', ',' or ')' 
before '*' token

make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1


2007-05-09 21:35 /usr/sfw/apache2/include/ap_mpm.h


It will be great if you could give me a clue on this ...

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.