You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Philip M. Gollucci" <ph...@p6m7g8.com> on 2002/12/17 22:34:12 UTC

Re: mod_perl fails tests

That parameter is a *mod_perl* not an *apache* one

it decides where the .pm files and such are installed
whether in a directory 'Apache' or 'Apache2'.

It will become the default eventually.  But for now, its useful
If you had 2 webservers 1.3.x and 2.0.x using the same version of perl
say 5.8.x .  

Its lack of is also useful for Maintaining comaptibility with 1.x
Modules not yet ported over.



On Wed, 2002-12-18 at 01:23, Jie Gao wrote:
> On Tue, 17 Dec 2002 jediknight@mindspring.com wrote:
> 
> > 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.
> 
> I have a question related to this: Why the param "MP_INST_APACHE2="? It would
> be good to be able to install apache in a user defined location, rather than
> only one location possible. This makes upgrades a bit risky. I maybe wrong, as
> documentation for apache2 is nowhere as clear as for apache 1.3*.
> 
> Regards,
> 
> 
> 
> Jie
> 
> > 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
> >
> >
> 
> 
>