1
votes

I am installing Request Tracker on my CentOS 7 machine. When I start the httpd server, I get the following error:

Can't locate Plack/Handler/Apache2.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /etc/httpd/conf.d/rt.conf line 17.\nBEGIN failed--compilation aborted

Any idea on why I am getting this error?

1
Did you successfully run 'make testdeps' during installation? I should track down all of the dependencies for you, and 'make fixdeps' can install them.Jim Brandt
yes I did. And it was successful.Megamind
Hmm, that can could suggest that the perl libraries you used when running the install are different than the those used by the web server user. This could be a permissions mismatch or potentially pointing at a different perl if there are multiple on the server.Jim Brandt

1 Answers

2
votes

Plack::Handler::Apache2 isn't part of the standard Perl installation. You need to install it separately. It's part of the Plack distribution, so one easy way to install it is with:

$ sudo yum install perl-Plack