|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-11-23 12:50 UTC] joursain at navegalia dot com
Y uso this configure: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-force-cgi-redirect --enable-discard-patch --enable-calendar --enable-FTP --with-java and the make command gives me this error: Making all in sapi make[1]: Entering directory `/usr/local/php-4.0.6/sapi' Making all in apache make[2]: Entering directory `/usr/local/php-4.0.6/sapi/apache' make[3]: Entering directory `/usr/local/php-4.0.6/sapi/apache' /bin/sh /usr/local/php-4.0.6/libtool --silent --mode=compile gcc -I. -I/usr/local/php-4.0.6/sapi/apache -I/usr/local/php-4.0.6/main -I/usr/local/php-4.0.6 -I/usr/local/apache2/include -I/usr/local/php-4.0.6/Zend -I/usr/local/php-4.0.6/ext/mysql/libmysql -I/usr/local/php-4.0.6/ext/xml/expat/xmltok -I/usr/local/php-4.0.6/ext/xml/expat/xmlparse -I/usr/local/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c If i do not use apxs2 all run and make, but i have not the .so archive Y use Apache 2.0.16 Beta PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
The make makes me the same error.. :-(( make[1]: Entering directory `/usr/local/php-4.1.0RC3/sapi' Making all in apache2filter make[2]: Entering directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' make[3]: Entering directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' /bin/sh /usr/local/php-4.1.0RC3/libtool --silent --mode=compile /usr/local/php-4.1.0RC3/meta_ccld -I. -I/usr/local/php-4.1.0RC3/sapi/apache2filter -I/usr/local/php-4.1.0RC3/main -I/usr/local/php-4.1.0RC3 -I/usr/local/apache2/include -I/usr/local/php-4.1.0RC3/Zend -I/usr/local/php-4.1.0RC3/ext/mysql/libmysql -I/usr/local/php-4.1.0RC3/ext/xml/expat -D_REENTRANT -I/usr/local/php-4.1.0RC3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c In file included from /usr/local/apache2/include/apr_buckets.h:61, from /usr/local/apache2/include/util_filter.h:59, from sapi_apache2.c:33: /usr/local/apache2/include/apr_general.h:115: warning: `XtOffsetOf' redefined /usr/local/php-4.1.0RC3/main/php.h:342: warning: this is the location of the previous definition sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:247: too many arguments to function `ap_get_brigade' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:330: too many arguments to function `ap_save_brigade' sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter' from incompatible pointer type make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.1.0RC3/sapi' make: *** [all-recursive] Error 1I have use the last version 4.1.0RC3 and teh result is the same, Making all in sapi make[1]: Entering directory `/usr/local/php-4.1.0RC3/sapi' Making all in apache2filter make[2]: Entering directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' make[3]: Entering directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' /bin/sh /usr/local/php-4.1.0RC3/libtool --silent --mode=compile /usr/local/php-4.1.0RC3/meta_ccld -I. -I/usr/local/php-4.1.0RC3/sapi/apache2filter -I/usr/local/php-4.1.0RC3/main -I/usr/local/php-4.1.0RC3 -I/usr/local/apache2/include -I/usr/local/php-4.1.0RC3/Zend -I/usr/local/php-4.1.0RC3/ext/mysql/libmysql -I/usr/local/php-4.1.0RC3/ext/xml/expat -D_REENTRANT -I/usr/local/php-4.1.0RC3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c In file included from /usr/local/apache2/include/apr_buckets.h:61, from /usr/local/apache2/include/util_filter.h:59, from sapi_apache2.c:33: /usr/local/apache2/include/apr_general.h:115: warning: `XtOffsetOf' redefined /usr/local/php-4.1.0RC3/main/php.h:342: warning: this is the location of the previous definition sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:247: too many arguments to function `ap_get_brigade' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:330: too many arguments to function `ap_save_brigade' sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter' from incompatible pointer type make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.1.0RC3/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.1.0RC3/sapi' make: *** [all-recursive] Error 1 Well, there is not an error, but i can not found the libphp4.so and the php does not compile me. Well, we see us tmoorrow , is Spain is the hour of the dinner :-DD