Bug #16229 Updated: PHP Complie with APXS2
| From: | bugs at optonline dot net | Date: | Sat, 23 Mar 2002 18:59:49 +0000 |
| Subject: | Bug #16229 Updated: PHP Complie with APXS2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3207@lists.php.net to get a copy of this message | ||
ID: 16229
Updated by: bugs@optonline.net
Reported By: bugs@optonline.net
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Mandrake 8.1
PHP Version: 4.2.0RC1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2002-03-23 04:59:20] bugs@optonline.net
!!! NOTICE: This is for 4.2.0RC1 !!
./configure works fine.
During make:
var_unserializer.c: In function `php_var_unserialize':
var_unserializer.c:300: warning: comparison is always false due to
limited range of data type
and the other error:
Making all in sapi
make[1]: Entering directory `/root/php-4.2.0RC1/sapi'
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/www/include -I/root/php-4.2.0RC1/Zend
-I/root/php-4.2.0RC1/ext/xml/expat -D_REENTRANT
-I/root/php-4.2.0RC1/TSRM -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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16229&edit=1