php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9717 configure script looks for httpd.h in wrong place in Apache Source tree
Submitted: 2001-03-12 20:48 UTC Modified: 2001-03-13 23:32 UTC
From: csburris at ci dot tacoma dot wa dot us Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.4pl1 OS: solaris 7
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: csburris at ci dot tacoma dot wa dot us
New email:
PHP Version: OS:

 

 [2001-03-12 20:48 UTC] csburris at ci dot tacoma dot wa dot us
run configure with 
./configure --with-apache=/sysadmin/webdev/apache/apache_1.3.19

configure: error: Invalid Apache directory - unable to find httpd.h under /sysadmin/webdev/apache/apache_1.3.19
 
looking at the configure script, it looks for includes under the apache 1.3.x  tree at  $withval/src/main/httpd.h which should be $withval/src/include/httpd.h and sets the APACHE_INCLUDE variable to "-I$withval/src/main, etc"  the httpd.h and other apache includes are in ./src/include subdirectory under the Apache directory.

I was able to make it compile by hand-editing configure to replace main with include

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-13 23:32 UTC] sniper@php.net
Works for me just fine with the same versions of Apache and PHP you are trying. Please get fresh sources of both
and follow the instructions given in INSTALL.

--Jani

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