I'm trying to build PHP 5.2 as an Apache 2.0 handler module.
Apache is installed with DESTDIR=/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 apxs prepend DESTDIR to the paths it prints ?
--
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]