GnuPG::Interface 无法在 CentOS 7 上安装

Lea*_*dro 1 centos perl cpan request-tracker

我正在尝试安装 CentOS 7 服务器来运行请求跟踪器。通过运行make testdeps我可以看到所有丢失的包,make fixdeps并且应该安装这些包。有一个我无法安装的软件包 ( GnuPG::Interface)。这个包被 Perl 使用。

我已经尝试通过cpan install GnuPG::Interfaceand安装它cpan install GnuPG::Interface --force,但是每次我收到一条错误消息时说:

Can't locate Fatal.pm in @INC (@INC contains: ./t /root/.cpan/build/GnuPG-Interface-0.51-CdOOe3/inc
/root/.cpan/build/GnuPG-Interface-0.51-CdOOe3/blib/lib /root/.cpan/build/GnuPG-Interface-0.51-    
CdOOe3/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /root/.cpan/build/GnuPG
-Interface-0.51-CdOOe3/blib/lib/GnuPG/Interface.pm line 23.
Run Code Online (Sandbox Code Playgroud)

我试过运行yum install perl-Test-Fatal,但即使在安装过程之后错误不断出现。如果我尝试使用cpan.

小智 5

我也在 CentOS7 安装 RT,解决方法如下。

执行cpan install -f GnuPG::Interface而不是cpan install GnuPG::Interface --force 执行cpan install Fatal(我也会运行yum install perl-Test-Fatal

此外,yum install expat-devel当被make testdeps告知“XML::RSS >= 1.05 ...MISSING”时也执行了。之后make testdeps就很漂亮的成功了。