Phillip wrote:
Hey guys, I've installed Apache 2.2.3 and mod_perl 2.0.3 + libapreq2, >apparently all successfully (my application runs pretty well). Now I want to install Apache::VMonitor and can't.I've running on Debian sarge and have Apache 1.3.33 installed as
> well >in
/usr/sbin/apache.Where are your two apxs binaries (full path) ? $ echo $PATH $ which apxs
OK in my first tests apxs isn't in my path (or root's path) anywhere ('which apxs' is empty). The apache2 apxs is in /usr/local/apache2/bin/apxs. (There is an apxs in /usr/local/apache/bin/apxs, but this isn't in the PATH either.) See
below.
The first issue is when I install Apache::Scoreboard 2.0.8. makeworksOK, but make test fails with:MOD_PERL=2 $perl Makefile.PL -apxs /path/to/apxs_for_2.x
This has no effect, except that Makefile.PL complains that apxs isn't a valid parameter (probably OK).
(Or you could just put the path to the apxs you want FIRST in your >path)
MOD_PERL=2 PATH="/usr/local/apache2/bin:$PATH" perl Makefile.PL has no effect.In fact I went and added /usr/local/apache2/bin to my path in the bash shell, so that now
which apxs gives /usr/local/apache2/bin/apxs ...and this has no effect. I *can* get make test to work for Apache::Scoreboard by using make test APACHE_TEST_HTTPD=/usr/local/apache2/bin/httpd APACHE_TEST_APXS=/usr/local/apache2/bin/apxs but this has no effect in the other install phases, (and doesn't help with Apache::VMonitor at all). David
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.