FS#9928 - mod_perl has wrong @INC with perl 5.10
Attached to Project:
Arch Linux
Opened by Andrea Benazzo (benazzo) - Monday, 24 March 2008, 09:18 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 20:51 GMT
Opened by Andrea Benazzo (benazzo) - Monday, 24 March 2008, 09:18 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 20:51 GMT
|
Details
Description:
I've just upgraded to perl 5.10 and the lib.pm module is not available anymore to mod_perl. Here is the relevant part taken from the error_log of apache: [Sun Mar 23 19:09:07 2008] [error] Can't locate lib.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /etc/httpd) at /home/andy/public_html/twiki/tools/mod_perl_startup.pl line 2.\nBEGIN failed--compilation aborted at /home/andy/public_html/twiki/tools/mod_perl_startup.pl line 2.\nCompilation failed in require at (eval 2) line 1.\n while the mod_perl_startup.pl is the following: $ENV{MOD_PERL} =~ /mod_perl/ or die "mod_perl_startup called, but mod_perl not used!"; use lib qw( /home/andy/public_html/twiki/bin /home/andy/public_html/twiki/lib /home/andy/public_html/twiki/lib/CPAN/lib); require 'setlib.cfg'; 1; |
This task depends upon
http://perl.apache.org
download:
http://perl.apache.org/dist/mod_perl-2.0.4.tar.gz
// STi