<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [rt-users] Has anyone figured out how to install Apache::Test?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Don Brett wrote:</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I'm running into the same problem others have. All Apache tests</FONT>
<BR><FONT SIZE=2>> fail while installing Apache::Request, complaining about</FONT>
<BR><FONT SIZE=2>> Apache::Test, which refuses to install.</FONT>
</P>
<P><FONT SIZE=2>Perhaps a little more detail on how Apache::Test refuses to install? </FONT>
</P>
<BR>
<P><FONT SIZE=2>Ethan Kiczek wrote:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I'm attempting to install RT 3.0.7 on a RedHat 9 machine. I built</FONT>
<BR><FONT SIZE=2>> Apache 1.3.29 statically with mod_perl 1.29 following the</FONT>
<BR><FONT SIZE=2>> instructions in Appendix 4 of the documentation. </FONT>
<BR><FONT SIZE=2>[...]</FONT>
<BR><FONT SIZE=2>> generating script t/TEST</FONT>
<BR><FONT SIZE=2>> APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed</FONT>
<BR><FONT SIZE=2>[...]</FONT>
<BR><FONT SIZE=2>> So I tried %apxs -q SBINDIR and it gave me:</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> apxs:Error: Sorry, no DSO support for Apache available</FONT>
<BR><FONT SIZE=2>> apxs:Error: under your platform. Make sure the Apache</FONT>
<BR><FONT SIZE=2>> apxs:Error: module mod_so is compiled into your server</FONT>
<BR><FONT SIZE=2>> apxs:Error: binary `/usr/local/apache/bin/httpd'.</FONT>
</P>
<P><FONT SIZE=2>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:</FONT></P>
<P><FONT SIZE=2> $self->apxs('LIBEXECDIR'),</FONT>
<BR><FONT SIZE=2>> $self->apxs('LIBEXECDIR') . '-extramodules',</FONT>
</P>
<BR>
<P><FONT SIZE=2>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 <A HREF="http://httpd.apache.org/test/" TARGET="_blank">http://httpd.apache.org/test/</A>. Though the link to the searchable archives on that page appears to be broken. Try: <A HREF="http://marc.theaimsgroup.com/?l=apache-test-dev" TARGET="_blank">http://marc.theaimsgroup.com/?l=apache-test-dev</A> instead. Please post back here if/when you find the answer to the problem</FONT></P>
<P><FONT SIZE=2>cheers,</FONT>
</P>
<P><FONT SIZE=2>Garrett</FONT>
</P>
<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Garrett Goebel</FONT>
<BR><FONT SIZE=2>IS Development Specialist </FONT>
</P>
<P><FONT SIZE=2>ScriptPro Direct: 913.403.5261 </FONT>
<BR><FONT SIZE=2>5828 Reeds Road Main: 913.384.1008 </FONT>
<BR><FONT SIZE=2>Mission, KS 66202 Fax: 913.384.2180 </FONT>
<BR><FONT SIZE=2>www.scriptpro.com garrett at scriptpro dot com </FONT>
<BR><FONT SIZE=2> </FONT>
</P>
</BODY>
</HTML>