Bug #14199 Updated: the make des not compile

From: Date: Fri, 23 Nov 2001 19:41:08 +0000
Subject: Bug #14199 Updated: the make des not compile
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71495@lists.php.net to get a copy of this message
ID: 14199 Updated by: jmoore Reported By: joursain@navegalia.com Status: Open Bug Type: Compile Failure Operating System: SuSE 7.2 PHP Version: 4.0.6 New Comment: Confilicting Apache and Apache 2 header files?? Previous Comments: ------------------------------------------------------------------------ [2001-11-23 14:22:16] joursain@navegalia.com 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 1 ------------------------------------------------------------------------ [2001-11-23 14:08:03] derick@php.net You really want to try the latest beta too, 2.0.28 if I'm not mistaken. Derick ------------------------------------------------------------------------ [2001-11-23 13:30:27] mfischer@php.net Simon sez Feedback. ------------------------------------------------------------------------ [2001-11-23 13:30:09] mfischer@php.net and this happened with which PHP version exactly now? did you try latest RC from http://www.php.net/~zeev/php-4.1.0RC3.tar.gz ? And, what is the error you get? You pasted lots of lines but there was _NO ERROR_ message. Also, do *NOT* break the lines to fit into the window. Paste them as they are. If your terminal restricts try redirecting the error messages to a file with make 2>&1 | tee make_errors.txt and copy & paste _THE RELEVANT_ parts of the error message. Feedback. ------------------------------------------------------------------------ [2001-11-23 13:16:37] joursain@navegalia.com I made the configure so, ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-force-cgi-redirect --enable-discard-patch --enable-calendar --enable-FTP --with-java With apxs2, and if module sapi choosen is different than CGI (that appears during the config process), the make crashes with nother sapi as apache2filter, the make doesn´t compile ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=14199 Edit this bug report at http://bugs.php.net/?id=14199&edit=1

« previous php.dev (#71495) next »