[rt-users] (newbie) Apache::Request / Apache::Test install problem

Ethan Kiczek ekiczek at wcfia.harvard.edu
Wed Dec 3 13:39:01 EST 2003


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:

...
Removing previously used /root/.cpan/build/Apache-Test-1.06

  CPAN.pm: Going to build G/GE/GEOFF/Apache-Test-1.06.tar.gz

    generating script t/TEST
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed
APXS (/usr/local/apache/bin/apxs) query for TARGET failed
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed
...

and then later:

...
Running make test
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed
APXS (/usr/local/apache/bin/apxs) query for TARGET failed
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -bugreport -verbose=0
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed
APXS (/usr/local/apache/bin/apxs) query for TARGET failed
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed
*** root mode: changing the files ownership to 'nobody' (99:99)
*** /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}; '

*** result: OK
/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
using Apache/1.3.29

waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost.localdomain:8529 started
ping.......ok                                                                

request....NOK 1# Failed test 1 in request.t at line 
11                     
request....NOK 5# Failed test 5 in request.t at line 
16                     
request....NOK 8# Failed test 8 in request.t at line 
20                     
request....NOK 9# Failed test 9 in request.t at line 
22                     
request....FAILED tests 1, 5, 
8-9                                           
        Failed 4/9 tests, 55.56% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
request.t                  9    4  44.44%  1 5 8-9
*** server localhost.localdomain:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
...

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'.

What do I do now? Do I need to recompile Apache with mod_perl AND 
mod_so? If so, how?

-- 
------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Email: ekiczek at wcfia.harvard.edu <mailto:ekiczek at wcfia.harvard.edu>
Web site: http://www.wcfia.harvard.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20031203/eb09003b/attachment.htm>


More information about the rt-users mailing list