为什么在 CentOS 7 上安装 Request Tracker 时会出现错误“无法在@INC 中找到 Plack/Handler/Apache2.pm”?
Why do I get the error 'Can't locate Plack/Handler/Apache2.pm in @INC' when I install Request Tracker on CentOS 7?
我正在我的 CentOS 7 机器上安装 Request Tracker。当我启动 httpd 服务器时,出现以下错误:
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
知道为什么会出现此错误吗?
Plack::Handler::Apache2 isn't part of the standard Perl installation. You need to install it separately. It's part of the Plack 发行版,因此一种简单的安装方法是:
$ sudo yum install perl-Plack
我正在我的 CentOS 7 机器上安装 Request Tracker。当我启动 httpd 服务器时,出现以下错误:
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
知道为什么会出现此错误吗?
Plack::Handler::Apache2 isn't part of the standard Perl installation. You need to install it separately. It's part of the Plack 发行版,因此一种简单的安装方法是:
$ sudo yum install perl-Plack