I am having some trouble installing mod_perl on my redhat linux 8.0 box.  I   
  
successfully installed apache 2.0.43 from source and placed it in the 
/usr/local/apache2 directory.  In addition, I downloaded the latest version of
mod_perl from cvs. I successfully used the following command to generate the
makefile: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1. 
Even though the make process was successful the make test process was not.  As
clear as I can tell from the error message that I listed below, mod_perl is
looking for apache components in
/home/software/apache_cvs/modperl-2.0/t/conf/httpd .conf which is clearly
wrong since my httpd.conf file is in /usr/local/apache2/conf.
 
Here is the error message:

waiting for server to start: ...[Tue Dec 17 17:37:17 2002] [info] 19 Apache::
modules loaded
[Tue Dec 17 17:37:17 2002] [info] 5 APR:: modules loaded
[Tue Dec 17 17:37:17 2002] [info] base server + 6 vhosts ready to run tests
..[Tue Dec 17 17:37:19 2002] [info] 19 Apache:: modules loaded
[Tue Dec 17 17:37:20 2002] [info] 5 APR:: modules loaded
.[Tue Dec 17 17:37:20 2002] [info] base server + 6 vhosts ready to run tests
Syntax error on line 693 of
/home/software/apache_cvs/modperl-2.0/t/conf/httpd.conf:
Can't locate CGI.pm in @INC (@INC contains:
/home/software/apache_cvs/modperl-2.0/blib/lib/Apache2
/home/software/apache_cvs/modperl-2.0/blib/arch/Apache2
/home/software/apache_cvs/modperl-2.0/Apache-Test/lib
/home/software/apache_cvs/modperl-2.0/lib
/home/software/apache_cvs/modperl-2.0/blib/lib
/home/software/apache_cvs/modperl-2.0/blib/arch
/home/software/apache_cvs/modperl-2.0/t/response
/home/software/apache_cvs/modperl-2.0/t/protocol
/home/software/apache_cvs/modperl-2.0/t/hooks
/home/software/apache_cvs/modperl-2.0/t/filter
/home/software/apache_cvs/modperl-2.0/t
/home/software/apache_cvs/modperl-2.0/t/htdocs/testdirective/perlmodule-vh
/home/software/apache_cvs/modperl-2.0/t/htdocs/testdirective/main
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at (eval 22) line
3.

!!!
server has died with status 255 (t/logs/error_log wasn't created, start the
server in the debug mode)
make: *** [run_tests] Error 143


Thanks for your help-
Rodney

Reply via email to