apxs and DESTDIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux