
roopa77
New User
Mar 23, 2010, 11:22 PM
Post #1 of 1
(21390 views)
|
problem with installing mod_perl2
|
Can't Post
|
|
Dear Experts, I am trying to install mod_perl on my Red Hat Linux 4 system, but I am getting the following error during the make test. #perl Makefile.PL \ USE_APXS=1 \ WITH_APXS=/usr/sbin/apxs \ EVERYTHING=1 [warning] mod_perl dso library will be built as mod_perl.so [warning] You'll need to add the following to httpd.conf: [warning] [warning] LoadModule perl_module modules/mod_perl.so [warning] [warning] depending on your build, mod_perl might not live in [warning] the modules/ directory. [warning] Check the results of [warning] [warning] $ /usr/sbin/apxs -q LIBEXECDIR [warning] [warning] and adjust the LoadModule directive accordingly. #make #make test [root@acod1 mod_perl-2.0.4]# t/TEST -verbose t/apache/content_length_header.t [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /tmp/mod_perl-2.0.4/t/TEST -verbose 't/apache/content_length_header.t' [warning] root mode: changing the files ownership to 'nobody' (99:99) [warning] testing whether 'nobody' is able to -rwx /tmp/mod_perl-2.0.4/t "/usr/bin/perl" -Mlib=/tmp/mod_perl-2.0.4/Apache-Test/lib -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(99, 99, q[/tmp/mod_perl-2.0.4/t]) }'; [warning] result: OK [warning] the client side drops 'root' permissions and becomes 'nobody' /usr/sbin/httpd -d /tmp/mod_perl-2.0.4/t -f /tmp/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2 using Apache/2.0.52 (prefork MPM) waiting 120 seconds for server to start: .ap_get_server_banner() not available until httpd/2.2.4 falling back to ap_get_server_version() at /usr/lib/perl5/5.10.1/i386-linux/DynaLoader.pm line 223. ap_get_server_description() not available until httpd/2.2.4 falling back to ap_get_server_version() at /usr/lib/perl5/5.10.1/i386-linux/DynaLoader.pm line 223. [Tue Mar 23 15:41:14 2010] [info] 6 Apache2:: modules loaded [Tue Mar 23 15:41:14 2010] [info] 0 APR:: modules loaded [Tue Mar 23 15:41:14 2010] [info] base server + 29 vhosts ready to run tests .. waiting 120 seconds for server to start: ok (waited 2 secs) ... t/apache/content_length_header.t .. 1..27 # Running under perl version 5.010001 for linux # Current time local: Tue Mar 23 15:41:16 2010 # Current time GMT: Tue Mar 23 22:41:16 2010 # Using Test.pm version 1.25_02 # Using Apache/Test.pm version 1.31 # testing : GET /TestApache__content_length_header code # expected: 200 # received: 200 ok 1 # testing : GET /TestApache__content_length_header C-L header # expected: 0 # received: 0 ok 2 # testing : GET /TestApache__content_length_header content # expected: # received: ok 3 # testing : GET /TestApache__content_length_header?set_content_length code # expected: 200 # received: 200 ok 4 # testing : GET /TestApache__content_length_header?set_content_length C-L header # expected: 0 # received: 0 ok 5 # testing : GET /TestApache__content_length_header?set_content_length content # expected: # received: ok 6 # testing : GET /TestApache__content_length_header?send_body code # expected: 200 # received: 200 ok 7 # testing : GET /TestApache__content_length_header?send_body C-L header # expected: undef # received: undef ok 8 # testing : GET /TestApache__content_length_header?send_body content # expected: This is a response string # received: This is a response string ok 9 # testing : GET /TestApache__content_length_header?send_body+set_content_length code # expected: 200 # received: 200 ok 10 # testing : GET /TestApache__content_length_header?send_body+set_content_length C-L header # expected: 25 # received: 25 ok 11 # testing : GET /TestApache__content_length_header?send_body+set_content_length content # expected: This is a response string # received: This is a response string ok 12 # testing : HEAD /TestApache__content_length_header code # expected: 200 # received: 200 ok 13 # testing : HEAD /TestApache__content_length_header C-L header # expected: undef # received: undef ok 14 # testing : HEAD /TestApache__content_length_header content # expected: # received: ok 15 # testing : HEAD /TestApache__content_length_header?set_content_length code # expected: 200 # received: 200 ok 16 # testing : HEAD /TestApache__content_length_header?set_content_length C-L header # expected: undef # received: 25 not ok 17 # testing : HEAD /TestApache__content_length_header?set_content_length content # expected: # received: ok 18 # Failed test 17 in t/apache/content_length_header.t at line 89 fail #2 # testing : HEAD /TestApache__content_length_header?send_body code # expected: 200 # received: 200 ok 19 # testing : HEAD /TestApache__content_length_header?send_body C-L header # expected: undef # received: undef ok 20 # testing : HEAD /TestApache__content_length_header?send_body content # expected: # received: ok 21 # testing : HEAD /TestApache__content_length_header?send_body+set_content_length code # expected: 200 # received: 200 ok 22 # testing : HEAD /TestApache__content_length_header?send_body+set_content_length C-L header # expected: 25 # received: 25 ok 23 # testing : HEAD /TestApache__content_length_header?send_body+set_content_length content # expected: # received: ok 24 # testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length code # expected: 200 # received: 200 ok 25 # testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length C-L header # expected: 25 # received: 25 ok 26 # testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length content # expected: # received: ok 27 Failed 1/27 subtests Test Summary Report ------------------- t/apache/content_length_header.t (Wstat: 0 Tests: 27 Failed: 1) Failed test: 17 Files=1, Tests=27, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.44 cusr 0.09 csys = 0.58 CPU) Result: FAIL Failed 1/1 test programs. 1/27 subtests failed. [warning] server server:8529 shutdown [ error] error running tests (please examine t/logs/error_log) [root@acod1 mod_perl-2.0.4]# Please note that I am using the following; apache server: 2.0.52 at /etc/httpd perl: 5.10.1 at /usr/lib/perl5 mod_perl-2.0.4 - I am trying to install as root located at /tmp Please let me know if I should be adding this line - 'LoadModule perl_module modules/mod_perl.so' manually into /etc/httpd/conf/httpd.conf Please help me fix this issue. I have been working on it since 3 days and I am still not been able to :( Thanks a lot.
|