[rt-users] Installing prerequisite perl modules

Val Luck VLuck at VMdirect.com
Tue Jun 24 22:20:16 EDT 2003


This one caught me off guard as well.

It turns out that apache doesn't like to be run as root, which is what you usually run the CPAN module as.  So, you need to kill off any orphaned httpd processes which were left by the test, and then move/copy/chmod the apache-request install directory to where it can be read/written to by a non-root user, then manaully execute the standard process (perl Makefile.pl ; make ; make test and if that works, then, make install).  

It worked for me.

Good luck,

Val

-----Original Message-----
From: Carl Gibbons [mailto:cgibbons at du.edu]
Sent: Monday, June 23, 2003 2:12 PM
To: rt-users at lists.fsck.com
Subject: [rt-users] Installing prerequisite perl modules


Looking through the list archives, I see that many have problems 
installing the Apache::Request module for RT. Why is this? Perhaps 
libapreq is a fragile block in RT's foundation?

At any rate, here's the context for my problem with it:

RedHat Enterprise Server ES 2.1
Perl 5.6.1
PostgreSQL 7.3.3
Apache httpd 1.3.27, mod_perl 1.27
RT 3.0.2

The only thing still missing:
# sbin/rt-test-dependencies --with-postgresql --with-modperl1 | grep MISS
        Apache::Request ...MISSING

Tried downloading and installing libapreq-1.2 with and without cpan; 
"make test" always fails with same result:

...
/usr/local/apache/bin/httpd -X -d /root/libapreq-1.2/t -f 
/root/libapreq-1.2/t/conf/httpd.conf -DAPACHE1
using Apache/1.3.27

waiting for server to start: .
waiting for server to start: ok (waited 0 secs)
server localhost.localdomain:8529 started
apreq/big_input....FAILED tests 
1-21                                        
        Failed 21/21 tests, 0.00% okay
apreq/cookie.......FAILED test 
1                                            
        Failed 1/1 tests, 0.00% okay
apreq/inherit......FAILED test 
1                                            
        Failed 1/1 tests, 0.00% okay
apreq/request......FAILED tests 
1-2                                         
        Failed 2/2 tests, 0.00% okay
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
apreq/big_input.t               21   21 100.00%  1-21
apreq/cookie.t                   1    1 100.00%  1
apreq/inherit.t                  1    1 100.00%  1
apreq/request.t                  2    2 100.00%  1-2
*** server localhost.localdomain:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1

Help?

- Carl


_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm



More information about the rt-users mailing list