AUR web interface

Tasklist

FS#9921 - mod_perl has wrong @INC with perl 5.10

Attached to Project: AUR web interface
Opened by Andrea Benazzo (benazzo) - Sunday, 23 March 2008, 18:35 GMT
Last edited by Callan Barrett (wizzomafizzo) - Thursday, 27 March 2008, 07:12 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 1.5.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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

Closed by  Callan Barrett (wizzomafizzo)
Thursday, 27 March 2008, 07:12 GMT
Reason for closing:  Not a bug

Loading...