#25945 [NEW]: APACHE_INCLUDE is pre-expanded in Makefile

From: Date: Wed, 22 Oct 2003 09:30:28 +0000
Subject: #25945 [NEW]: APACHE_INCLUDE is pre-expanded in Makefile
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49328@lists.php.net to get a copy of this message
From: cjbj at hotmail dot com Operating system: Linux (RH AS 2.1) PHP version: 4.3.3 PHP Bug Type: *Compile Issues Bug description: APACHE_INCLUDE is pre-expanded in Makefile Description: ------------ I'm having some problems with a recalcitrant apxs program. It returns a bogus path for the Apache headers. The Makefile therefore is wrong and sapi_apache.c fails to compile. The APACHE_INCLUDE variable in the Makefile is not used anywhere so changing it has no effect. My configure line is: --with-oci8=$ORACLE_HOME --with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs --enable-sigchild The resulting Makefile is: ... APACHE_INCLUDE = -I/include ... sapi/apache/sapi_apache.lo: /home/cjbj/php-4.3.3/sapi/apache/sapi_apache.c $(LIBTOOL) --mode=compile $(CC) ... -I/include ... ... The problem I'm reporting is the compile line. It has already expanded the Apache path, so any change to APACHE_INCLUDE is never used. It would make working around this and similar problems easier if the compile line was: $(LIBTOOL) --mode=compile $(CC) ... -I$(APACHE_INCLUDE) ... If this is not possible, then maybe the "APACHE_INCLUDE = -I/include" line could be removed altogether from the Makefile. -- Edit bug report at http://bugs.php.net/?id=25945&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25945&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25945&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25945&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25945&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25945&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25945&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25945&r=support Expected behavior: http://bugs.php.net/fix.php?id=25945&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25945&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25945&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25945&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25945&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25945&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25945&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25945&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25945&r=float

« previous php.bugs (#49328) next »