Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > INSTALL_ROOT and apxs
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 21st October 15:33
aym-ehcapa
External User
 
Posts: 1
Default INSTALL_ROOT and apxs



I'm trying to build PHP 5.2 as an Apache 2.0 handler module.
Apache and PHP are installed with DESTDIR/INSTALL_ROOT=/sandbox
set because the end goal is to make a package, not to install on
the build machine.

The paths returned by apxs are relative to /, not to /sandbox
which throws off PHP's makefile :

/sandbox/php-5.2$ ./configure --with-apxs2=/sandbox/opt/apache/bin/apxs
/sandbox/php-5.2$ make
/sandbox/php-5.2/libtool [...] -I/opt/apache/include [...]
-c sapi/apache2handler/mod_php5.c -o sapi/apache2handler/mod_php5.lo
In file included from sapi/apache2handler/mod_php5.c:26:
/sandbox/php-5.2/sapi/apache2handler/php_apache.h:24:19: error:
httpd.h: No such file or directory

Is there any existing mechanism to deal with this ? For example,
something to make PHP's makefile aware that it should prepend
INSTALL_ROOT to all paths returned by apxs ?

--
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666