Hello,

I'm still a n00b when it comes to Linux.
Please pardon my ignorance if I don't get the terms correct.

I have an RHEL3 server, running Apache 2.0.46, Perl 5.8.0 , mod_perl-1.99 and Plesk 7.5.3 .

Basically, I'm trying to install Apache::Request , which is a pre-requisite for Bundle::HTML::Mason .
From my understanding, Apache::Request refers to libapreq-1.33 , which won't work with Apache 2.x .

So, I've downloaded libapreq2-2.0.7 instead.
When trying to compile this, I have to run:
perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs

I noticed from phpinfo() that my Apache was compiled using '--with-apxs2filter=/usr/sbin/apxs' .
But /usr/sbin/apxs doesn't exist.

Doing 'locate apxs' shows /usr/local/psa/admin/bin/apxs ,
thus I've tried this command instead:
perl Makefile.PL --with-apache2-apxs=/usr/local/psa/admin/bin/apxs

and it returns:
apxs:Error: Invalid query string `APR_BINDIR'
apxs:Error: Invalid query string `APU_BINDIR'
apxs:Error: Invalid query string `progname'
build/version_check.pl failed: no version_string found in '' for 'apache2'.
configure: error: Bad apache2 binary (/usr/local/psa/admin/bin/)

Does this mean that I have to recompile httpd?
Any advice would be much appreciated.