<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
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. I'm able to use CPAN to install all
required modules except Apache::Request. Upon further examination, this
seems to be because installation of dependency Apache::Test fails. Here
is a snippet of the CPAN install log for Apache::Test:<br>
<br>
<tt>...<br>
Removing previously used /root/.cpan/build/Apache-Test-1.06<br>
<br>
CPAN.pm: Going to build G/GE/GEOFF/Apache-Test-1.06.tar.gz<br>
<br>
generating script t/TEST<br>
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for TARGET failed<br>
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed</tt><br>
<tt>...<br>
</tt><br>
and then later:<br>
<br>
<tt>...<br>
Running make test<br>
/usr/bin/perl -Iblib/arch -Iblib/lib \<br>
t/TEST -clean<br>
*** setting ulimit to allow core files<br>
ulimit -c unlimited; t/TEST -clean<br>
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for TARGET failed<br>
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed<br>
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \<br>
/usr/bin/perl -Iblib/arch -Iblib/lib \<br>
t/TEST -bugreport -verbose=0 <br>
*** setting ulimit to allow core files<br>
ulimit -c unlimited; t/TEST -bugreport -verbose=0<br>
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for TARGET failed<br>
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed<br>
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed<br>
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed<br>
*** root mode: changing the files ownership to 'nobody' (99:99)<br>
*** /usr/bin/perl -e ' require POSIX; POSIX::setuid(99);
POSIX::setgid(99); print -r q{/root/.cpan/build/Apache-Test-1.06/t}
&& -w _ && -x _ ? q{OK} : q{NOK}; ' <br>
<br>
*** result: OK<br>
/usr/local/apache/bin/httpd -d /root/.cpan/build/Apache-Test-1.06/t -f
/root/.cpan/build/Apache-Test-1.06/t/conf/httpd.conf -DAPACHE1
-DPERL_USEITHREADS<br>
using Apache/1.3.29 <br>
<br>
waiting 60 seconds for server to start: .<br>
waiting 60 seconds for server to start: ok (waited 0 secs)<br>
server localhost.localdomain:8529 started<br>
ping.......ok
<br>
request....NOK 1# Failed test 1 in request.t at line
11 <br>
request....NOK 5# Failed test 5 in request.t at line
16 <br>
request....NOK 8# Failed test 8 in request.t at line
20 <br>
request....NOK 9# Failed test 9 in request.t at line
22 <br>
request....FAILED tests 1, 5,
8-9 <br>
Failed 4/9 tests, 55.56% okay<br>
Failed Test Stat Wstat Total Fail Failed List of Failed<br>
-------------------------------------------------------------------------------<br>
request.t 9 4 44.44% 1 5 8-9<br>
*** server localhost.localdomain:8529 shutdown<br>
!!! error running tests (please examine t/logs/error_log)<br>
...<br>
</tt><br>
So I tried <tt>%apxs -q SBINDIR</tt> and it gave me:<br>
<br>
<tt>apxs:Error: Sorry, no DSO support for Apache available<br>
apxs:Error: under your platform. Make sure the Apache<br>
apxs:Error: module mod_so is compiled into your server<br>
apxs:Error: binary `/usr/local/apache/bin/httpd'.</tt><br>
<br>
What do I do now? Do I need to recompile Apache with mod_perl AND
mod_so? If so, how?<br>
<br>
<div class="moz-signature">-- <br>
<hr width="100%" size="2"> Ethan Kiczek<br>
Information Technology Manager<br>
Weatherhead Center for International Affairs<br>
Email: <a href="mailto:ekiczek@wcfia.harvard.edu">ekiczek@wcfia.harvard.edu</a><br>
Web site: <a href="http://www.wcfia.harvard.edu">http://www.wcfia.harvard.edu</a><br>
<br>
</div>
</body>
</html>