Has anyone figured out how to install Apache::Test?

Don Brett wrote:

I’m running into the same problem others have. All Apache tests
fail while installing Apache::Request, complaining about
Apache::Test, which refuses to install.

Perhaps a little more detail on how Apache::Test refuses to install?

Ethan Kiczek wrote:

I’m attempting to install RT 3.0.7 on a RedHat 9 machine. I built
Apache 1.3.29 statically with mod_perl 1.29 following the
instructions in Appendix 4 of the documentation.
[…]
generating script t/TEST
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed
[…]
So I tried %apxs -q SBINDIR and it gave me:

apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/apache/bin/httpd’.

I had an apxs problems getting Apache::Test to run on Gentoo. Both Gentoo
and Mandrake place non-vanilla apache modules into a different
(/usr/lib/apache-extramodules) directory. So my Apache::Test install threw a
similar apxs failure when trying to load mod_perl. No one was ever able to
tell me why they split the module directory. But my problem was obviously a
distributions issue. FYI: I solved it by adding a line to
Apache::TestConfig:

   $self->apxs('LIBEXECDIR'),
  $self->apxs('LIBEXECDIR') . '-extramodules',

But that isn’t your problem. As you said build Apache statically. I.e., no
DSO. So it makes sense that apxs would give those errors. I thought
Apache::Test should work without DSO. The documenation for Apache::Test
directs questions to the test-dev@httpd.apache.org mailing list. Which you
can find more information about at Apache HTTP Test Project - The Apache HTTP Server Project. Though the
link to the searchable archives on that page appears to be broken. Try:
http://marc.theaimsgroup.com/?l=apache-test-dev instead. Please post back
here if/when you find the answer to the problem

cheers,

Garrett

Garrett Goebel
IS Development Specialist

ScriptPro Direct: 913.403.5261
5828 Reeds Road Main: 913.384.1008
Mission, KS 66202 Fax: 913.384.2180
www.scriptpro.com garrett at scriptpro dot com