Bug #16434 Updated: Build Error

From: Date: Mon, 08 Apr 2002 14:56:50 +0000
Subject: Bug #16434 Updated: Build Error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4352@lists.php.net to get a copy of this message
ID: 16434 Updated by: wrose@loislaw.com Reported By: wrose@loislaw.com Status: Closed Bug Type: Apache2 related Operating System: Linux 2.4.2-2 PHP Version: 4.1.2 New Comment: I have a diff for PHP 4.2.0RC2 so it will compile against Apache 2.0.35-dev. Where do I send it? Previous Comments: ------------------------------------------------------------------------ [2002-04-08 09:41:30] wrose@loislaw.com I grabbed the neweest Apache 2.0 from CVS Friday, compiled it with: ./configure --prefix=/opt/apache_2.0dev --with-mpm=worker --enable-so then compiled PHP 4.2.0RC2 with: ./configure --with-apxs2=/opt/apache_2.0dev/bin/apxs --with-mysql=/usr Here's what it says just before dying: make[3]: Entering directory `/root/php-4.2.0RC2/sapi/apache2filter' /bin/sh /root/php-4.2.0RC2/libtool --silent --mode=compile gcc -I. -I/root/php-4.2.0RC2/sapi/apache2filter -I/root/php-4.2.0RC2/main -I/root/php-4.2.0RC2 -I/opt/apache_2.0dev/include -I/root/php-4.2.0RC2/Zend -I/usr/include/mysql -I/root/php-4.2.0RC2/ext/xml/expat -D_REENTRANT -I/root/php-4.2.0RC2/TSRM -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_apache_sapi_ub_write': sapi_apache2.c:58: too few arguments to function `apr_brigade_create' sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c: In function `php_apache_sapi_flush': sapi_apache2.c:174: too few arguments to function `apr_brigade_create' sapi_apache2.c:175: too few arguments to function `apr_bucket_flush_create' sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:257: too few arguments to function `apr_brigade_create' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:331: too few arguments to function `apr_brigade_create' sapi_apache2.c:386: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c:395: too few arguments to function `apr_bucket_eos_create' make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/root/php-4.2.0RC2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/php-4.2.0RC2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/php-4.2.0RC2/sapi' make: *** [all-recursive] Error 1 I'll figure out the problem and let you guys know. I bet it's the APR_BLOCK_READ/APR_NONBLOCK_READ thing again. ------------------------------------------------------------------------ [2002-04-08 09:27:28] wrose@loislaw.com I added APR_BLOCK_READ to the ap_get_brigade function call on line 247. ------------------------------------------------------------------------ [2002-04-06 11:12:15] sebastian.wolfgarten@gmx.net Hi, which changes did you exactly made to sapi_apache2.c? Bye, Sebastian ------------------------------------------------------------------------ [2002-04-06 11:12:10] sniper@php.net You need latest CVS versions of both Apache2 and PHP. ------------------------------------------------------------------------ [2002-04-05 09:18:06] wrose@loislaw.com After adding the required parameter, it compiled and has run fine under an adhoc stress test. ------------------------------------------------------------------------ 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/16434 -- Edit this bug report at http://bugs.php.net/?id=16434&edit=1

« previous php.bugs (#4352) next »