Bug#151712: apache2-dev: apxs2 does not work
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
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!
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org