Bug #16229 Updated: PHP Complie with APXS2
ID: 16229
Updated by: sniper@php.net
Reported By: bugs@optonline.net
-Status: Open
+Status: Closed
Bug Type: Apache2 related
Operating System: Mandrake 8.1
PHP Version: 4.2.0RC1
New Comment:
Get latest CVS of both Apache2 and PHP and it should work.
Previous Comments:
------------------------------------------------------------------------
[2002-03-29 16:15:07] eric@abovegod.net
Same error for me. Both with 4.1.2 and 4.2.0RC1.
I'm on slackware.
Making all in apache2filter
make[2]: Entering directory `/root/php-4.2.0RC1/sapi/apache2filter'
make[3]: Entering directory `/root/php-4.2.0RC1/sapi/apache2filter'
/bin/sh /root/php-4.2.0RC1/libtool --silent --mode=compile gcc -I.
-I/root/php-4.2.0RC1/sapi/apache2filter -I/root/php-4.2.0RC1/main
-I/root/php-4.2.0RC1 -I/usr/local/apache2/include
-I/root/php-4.2.0RC1/Zend -I/usr/local/include
-I/root/php-4.2.0RC1/ext/mysql/libmysql
-I/root/php-4.2.0RC1/ext/xml/expat -D_REENTRANT
-I/root/php-4.2.0RC1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
-c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:473: `AP_FTYPE_RESOURCE' undeclared (first use in this
function)
sapi_apache2.c:473: (Each undeclared identifier is reported only once
sapi_apache2.c:473: for each function it appears in.)
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.0RC1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.0RC1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.0RC1/sapi'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
[2002-03-25 15:49:18] sniper@php.net
reclassified
------------------------------------------------------------------------
[2002-03-23 13:59:49] bugs@optonline.net
No prob.
Version: Apache 2.0.32 - this is not the latest CVS
Downloaded file:
http://www.apache.org/dist/httpd/httpd-2.0.32-beta.tar.gz
Configure lines: ./configure --quiet --prefix=/www
Errors: None. Works just fine.
I tired the lasest CVS (snapshot) about 2 days ago. I will try again,
but I doubt it's the problem.
PHP Configure Lines: ./configure --quiet --with-mysql=no
--with-apxs2=/www/bin/apxs
"make" fails -- see above for errors.
"make install" -- never created because of errors above
------------------------------------------------------------------------
[2002-03-23 06:54:25] sander@php.net
What are your configure lines? (both of Apache and PHP)
Which version of Apache are you using? Can you try upgrading Apache to
2.0.32 or the latest CVS?
------------------------------------------------------------------------
[2002-03-23 04:59:59] bugs@optonline.net
Changed the Version Number
------------------------------------------------------------------------
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/16229
--
Edit this bug report at http://bugs.php.net/?id=16229&edit=1
Thread (7 messages)