Apparently we're not quite there yet. See the report for details. Note that I am including the bug report because it might have useful details, not because this is necessarily a bug.
-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
I am trying to get mod_perl 2 working by following the instructions in "Getting your feet wet with mod perl." I can configure, make, make test and make install without any problems and then add LoadModule perl_module modules/mod_perl.so to http.conf and start Apache 2 successfully. However, I encounter a problem when I try to add PerlModule Apache2. If I do this, Apache quits unexpectedly and in the error log I see:
---- snip ---- [Mon Nov 29 20:47:04 2004] [error] Can't locate Apache2.pm in @INC (@INC contains: /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/local/share/perl /usr/lib/perl5 /usr/share/perl5 /usr/share/perl5 . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 2) line 3.\n [Mon Nov 29 20:47:04 2004] [error] Can't load Perl module Apache2 for server 192.168.1.3:0, exiting... ---- snip ----
You've got something messed up, Stephen. When you run 'make install' where did it install the modules?
show us the output of:
cd modperl-1.99_17 grep PERLPREFIX Makefile grep SITEPREFIX Makefile
Since /usr/local/apache/lib/perl is in @INC and the modules needed seem to be in blib/lib, I tried cp -r blib/lib/* /usr/local/apache/lib/perl and restarted Apache. This gets me past "PerlModule Apache2" and Apache is up and serving pages.
that's a bad idea.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html