[rt-users] Can't locate Plack/Handler/Apache2.pm

Jacobo Urdiales jacobo.urdiales at cekon.es
Mon Apr 23 10:39:17 EDT 2012


Hi Kevin,
Actually on centos5 perl 5.8.8 is installed using yum. But there is a 
cpan library with is not working with versions older than 5.10 so i had 
to download and compile 5.14.

So after the cpan and dependancies nightmare not sure if any package is 
still pointing to the old perl...

The system is going to have just 30 requests a month or so. So I do not 
think using cgi would be a problem.

Can you tell me what to touch or move to use it?


Regards,

Jacobo

PD: Thanks for your help!

El 23/04/12 16:30, Kevin Falcone escribió:
> On Mon, Apr 23, 2012 at 01:19:09PM +0200, Jacobo Urdiales wrote:
>> But upon restarting apache i get this error
>>
>> Can't locate Plack/Handler/Apache2.pm in @INC (@INC contains:
>> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
>> /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
>> /etc/httpd) at /etc/httpd/conf.d/rt.conf line 11.\nBEGIN
>> failed--compilation aborted\t(in cleanup) Can't locate
>> Plack/Handler/Apache2.pm in @INC (@INC contains:
>> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
>> /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
>> /etc/httpd) at /etc/httpd/conf.d/rt.conf line 11.\nBEGIN
>> failed--compilation aborted at /etc/httpd/conf.d/rt.conf line 11.\n
>>
>> The point is that I installed perl version 5.14 and compiled rt eith
>> that also installed the modules under that version. But I do not
>> know why seems that apache or whatever has the old path.
>> Tried to modify (even copy) the path contents to old locations but
>> more errors rise..
> Did you compile apache/mod_perl with 5.14 or are you using vendor
> packages that still point to the 5.8 install?
>
> If you want to use your own perl build, fastcgi will be easier.
>
> -kevin



More information about the rt-users mailing list