php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10422 cant compile with --with-apxs2
Submitted: 2001-04-20 09:15 UTC Modified: 2001-05-22 23:19 UTC
From: petko at 5co dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux 2.2.18 #sparc64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: petko at 5co dot org
New email:
PHP Version: OS:

 

 [2001-04-20 09:15 UTC] petko at 5co dot org
I made configure in this way:
./configure --with-mysql=/home/petkok/mysql --with-apxs2=/home/petkok/httpd/bin/apxs --with-config-file-path=/home/petkok/php4

when i run "make" i receive this error:

make[1]: Entering directory `/home/petkok/php-4.0.4pl1/sapi/apache2filter'
/bin/sh /home/petkok/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. -I/home/petkok/php-4.0.4pl1/sapi/apache2filter -I/home/petkok/php-4.0.4pl1/main -I/home/petkok/php-4.0.4pl1 -I/home/petkok/httpd/include -I/home/petkok/httpd/include/apr -I/home/petkok/php-4.0.4pl1/Zend -I/home/petkok/mysql/include/mysql -I/home/petkok/php-4.0.4pl1/ext/xml/expat/xmltok -I/home/petkok/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/petkok/php-4.0.4pl1/TSRM  -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthread  -c sapi_apache2.c
In file included from sapi_apache2.c:44:
php_apache.h:27: parse error before `ap_bucket_brigade'
php_apache.h:27: warning: no semicolon at end of struct or union
php_apache.h:35: parse error before `}'
php_apache.h:35: warning: data definition has no type or storage class
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:49: `ap_bucket' undeclared (first use in this function)
sapi_apache2.c:49: (Each undeclared identifier is reported only once
sapi_apache2.c:49: for each function it appears in.)

....
sapi_apache2.c:453: warning: excess elements in scalar initializer
sapi_apache2.c:453: warning: (near initialization for `php4_module')
sapi_apache2.c:455: warning: excess elements in scalar initializer
sapi_apache2.c:455: warning: (near initialization for `php4_module')
sapi_apache2.c:455: warning: data definition has no type or storage class
make[1]: *** [sapi_apache2.lo] Error 1
make[1]: Leaving directory `/home/petkok/php-4.0.4pl1/sapi/apache2filter'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-22 23:19 UTC] sniper@php.net
Please try with latest Apache2 cVS and latest PHP cvs.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 01:01:30 2025 UTC