在RHEL7上安装Crypt :: SSLeay缺少version.pm
问题描述:
我想安装从Snort启动PulledPork所需的Crypt :: SSLeay。我正在使用Perl 5.16-3开发新的Red Hat Linux Enterprise 7服务器(在VM中)。 我正在从search.cpan.org安装每个Perl模块,我需要获取源代码来编译自己。在RHEL7上安装Crypt :: SSLeay缺少version.pm
起初,我想与
perl Makefile.PL
make
sudo make install
安装地穴:: SSLeay的然后,我有一大堆的依赖先安装。
- 的ExtUtils ::的CBuilder
- 的ExtUtils :: MakerMaker
- 的Perl :: OSTYPE
- IPC :: Cmd的
- PARAMS ::检查
- 地点:: Maketext ::简单
- Module :: Load :: Conditional
- Module :: Load
- T EST ::更多
- 的ExtUtils :: MM_Unix :: tool_xsubpp
但现在我坚持这一点。
Can't locate version.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 .) at
/usr/local/share/perl5/Module/Load/Conditional.pm line 12. BEGIN
failed--compilation aborted at
/usr/local/share/perl5/Module/Load/Conditional.pm line 12. Compilation
failed in require at /usr/local/share/perl5/IPC/Cmd.pm line 60. BEGIN
failed--compilation aborted at /usr/local/share/perl5/IPC/Cmd.pm line
60. Compilation failed in require at /usr/local/share/perl5/ExtUtils/CBuilder/Base.pm line 10. BEGIN
failed--compilation aborted at
/usr/local/share/perl5/ExtUtils/CBuilder/Base.pm line 10. Compilation
failed in require at
/usr/local/share/perl5/ExtUtils/CBuilder/Platform/Unix.pm line 5.
BEGIN failed--compilation aborted at
/usr/local/share/perl5/ExtUtils/CBuilder/Platform/Unix.pm line 5.
Compilation failed in require at (eval 1) line 2. BEGIN
failed--compilation aborted at (eval 1) line 2. Compilation failed in
require at Makefile.PL line 5. BEGIN failed--compilation aborted at
Makefile.PL line 5.
我安装的版本(http://search.cpan.org/~jpeacock/version-0.9917/lib/version.pod),但它告诉我:
ERROR from evaluation of
/home/pdavid/Downloads/version-0.9917/vutil/Makefile.PL:
ExtUtils::MM_Unix::tool_xsubpp : Can't find xsubpp at
/usr/local/share/perl5/ExtUtils/MM_Unix.pm line 3753.
答
红帽企业Linux(和Fedora)船舶的Perl在perl
包的子集;这就是为什么你错过了version.pm
,尽管软件假定它在那里;这就是为什么思南提到它在corelist
。
的解决方法是在系统上首先安装perl-core
包,那么你的系统将有来自安装核心的所有包,然后就可以安装软件:
sudo yum install perl-core
顺便问一下,你也可以通过yum
安装地穴:: SSLeay的:
sudo yum install "perl(Crypt::SSLeay)"
首先,没有理由对任何事[对'地穴依赖:: SSLeay'(https://metacpan.org/pod/release/NANIS/地穴-SSLeay的-0.73_06/SSLeay.pm#DO-YOU-NEED-地穴:: SSLeay的?)。第二,我认为你已经执行了你的Perl安装:'核心列表版本 2017-03-20 版本数据首次发布时使用perl v5.9.0' –
我提交了一个[使用'pullpork'的错误报告](https:/ /github.com/shirkdog/pulledpork/issues/258)。我没有看到它需要依赖'Crypt :: SSLeay'的任何理由。 –