php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2463 Cannot find Apache`s include .h files during make
Submitted: 1999-10-07 13:42 UTC Modified: 1999-10-31 09:35 UTC
From: station7 at hotmail dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.12 OS: Linux
Private report: No CVE-ID: None
 [1999-10-07 13:42 UTC] station7 at hotmail dot com
installing php3, 3.0.12,  linux on intel 

configured with following options:

#./configure --with-apxs=/usr/sbin/apxs
      --with-config-file-path=/etc/httpd/config
   --with-mysql=/usr/local/mysql
   --with-apache=/usr/sbin/httpd
   --with-system-regex

then entered:

#make

got following output:

gcc -g -02 -02 -fpic -I. -I. -I -c language-
parser.tab.c -o language-parser.tab.o
In file included from language-parser.y:
57:
php.h:219: ap_config_auto.h: file or directory
not found  
php.h:223: ap_config.h: file or directory not found
php.h:233: ap_compat.h: file or directory not found
php.h:235: httpd.h: file or directory not found
php.h:236: http_main.h: file or directory not found
php.h:237: http_core.h: file or directory not found
php.h:238: http_request.h: file or directory not found
php.h:239: http_protocol.h: file or directory not found
php.h:240: http_config.h: file or directory not found
php.h:241: http_log.h: file or directory not found




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-24 12:38 UTC] sas at cvs dot php dot net
Looks like you need to (re)run configure in the apache source tree. Does it work then?
 [1999-10-31 09:35 UTC] rasmus at cvs dot php dot net
You can't use --with-apxs and --with-apache at the same time.  Pick one or the other and it will work fine.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Dec 04 09:05:54 2022 UTC