Bug#151712: apache2-dev: apxs2 does not work
Package: apache2-dev
Version: 2.0.37-2
Severity: important
Calling axps does not work because envvars is not found:
> /usr/bin/apxs2 -q CC
sh: /usr/sbin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
Severity set to important because custom modules can't be built without
a working axps. Changing line 230 of /usr/bin/apxs2 to
my $envvars = "/etc/apache2/build/envvars";
solved this problem for me. However, "/usr/bin/apxs2 -q LIBTOOL" then
gives an incorrect result:
> /usr/bin/apxs2 -q LIBTOOL
/bin/sh /usr/local/src/Packages/apache2/apache2-2.0.37/debian/apache2-mpm-worker/etc/apache2/build/libtool --silent
This (and maybe other vars?) needs to be fixed in
/etc/apache2/build/config_vars.mk.
After doing this I was able to build mod_webapp from Tomcat 4 without any
problems. And BTW, thanks for your great work with the Apache 2 packages!
--
Stefan Gybas
--
To UNSUBSCRIBE, email to debian-apache-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: