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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php