php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16578 Build Fails, relevance to apache
Submitted: 2002-04-12 18:40 UTC Modified: 2002-04-19 01:53 UTC
From: dport113 at bellsouth dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.2 OS: Linux Kernel 2.4.18
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: dport113 at bellsouth dot net
New email:
PHP Version: OS:

 

 [2002-04-12 18:40 UTC] dport113 at bellsouth dot net
Upon building PHP4.x.x (including RC1/RC2/CVS) on Apache 2.0.x (currently 2.0.35) The make fails on this:
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:81: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:81: (Each undeclared identifier is reported only once
sapi_apache.c:81: for each function it appears in.)
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.2.0RC1/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.2.0RC1/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.0RC1/sapi'
make: *** [all-recursive] Error 1

Apache was configured in the following :
./configure --prefix=/www --enable-so --enable-ssl
make 
make insall
PHP 4.x was configured in the following:
./configure --with-mysql --with-apxs=/www/bin/apxs
make (failed)

RH7.296 (7.3beta) Kernel 2.4.18grsec1.94 / GCC3.0.4 / Apache 2.0.35 mod ssl/so

Im aware of known issues with 4.2.xRC1/RC2 with Apache 2.0.x
This is reproducable on several systems of mine 
RH7.1 Kernel 2.4.16 / GCC2.96 / Apache 2.0.35
RH7.0 Kernel 2.2.23 / GCC2.95 / Apache 2.0.34
SuSE 7.3 Kernel 2.4.7 (SuSE Optimizations left in place) GCC3.0.4 / Apache 2.0.34

Any help on this is appreciated if it is merely a(n) error on my part. I do have a succesfull build on:
RH7.2 Kernel 2.4.16grsec1.93 / GCC3.0.4 / Apache 1.3.23/24

Thanks.
David Portwood 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-12 18:43 UTC] sniper@php.net
The correct configure option is --with-apxs2 (notice the number 2 there?)


 [2002-04-13 13:57 UTC] dport113 at bellsouth dot net
Ok Ive tried configuring PHP4.x (ORC1/ORX2 as well) with the options as follows:
./configure --with-mysql --with-apxs2=/www/bin/apxs
make (fails)
With the same results on all systems.
 [2002-04-19 01:53 UTC] dport113 at bellsouth dot net
Any Ideas?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 03:01:27 2024 UTC