httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Majorel <aym-ehc...@teaser.fr>
Subject [users@httpd] apxs and DESTDIR
Date Thu, 18 Oct 2007 18:34:10 GMT
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message