linux - Missing version.pm installing Crypt::SSLeay on RHEL7 -
i trying install crypt::ssleay required launch pulledpork snort. working on fresh red hat linux enterprise 7 server (in vm) perl 5.16-3. installing every perl module search.cpan.org , need source code compile myself.
at first, wanted install crypt::ssleay
perl makefile.pl make sudo make install then got bunch of dependencies install first.
- extutils::cbuilder
- extutils::makermaker
- perl::ostype
- ipc::cmd
- params::check
- locale::maketext::simple
- module::load::conditional
- module::load
- test::more
- extutils::mm_unix::tool_xsubpp
but stuck this.
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 .) @ /usr/local/share/perl5/module/load/conditional.pm line 12. begin failed--compilation aborted @ /usr/local/share/perl5/module/load/conditional.pm line 12. compilation failed in require @ /usr/local/share/perl5/ipc/cmd.pm line 60. begin failed--compilation aborted @ /usr/local/share/perl5/ipc/cmd.pm line 60. compilation failed in require @ /usr/local/share/perl5/extutils/cbuilder/base.pm line 10. begin failed--compilation aborted @ /usr/local/share/perl5/extutils/cbuilder/base.pm line 10. compilation failed in require @ /usr/local/share/perl5/extutils/cbuilder/platform/unix.pm line 5. begin failed--compilation aborted @ /usr/local/share/perl5/extutils/cbuilder/platform/unix.pm line 5. compilation failed in require @ (eval 1) line 2. begin failed--compilation aborted @ (eval 1) line 2. compilation failed in require @ makefile.pl line 5. begin failed--compilation aborted @ makefile.pl line 5. i install version (http://search.cpan.org/~jpeacock/version-0.9917/lib/version.pod) told me :
error evaluation of /home/pdavid/downloads/version-0.9917/vutil/makefile.pl: extutils::mm_unix::tool_xsubpp : can't find xsubpp @ /usr/local/share/perl5/extutils/mm_unix.pm line 3753.
red hat enterprise linux (and fedora) ship subset of perl in perl package; why you're missing version.pm although software assumes it's there; that's why sinan mentions in corelist.
the solution first install perl-core package on system, system have packages core installed, , can install software:
sudo yum install perl-core by way, can install crypt::ssleay via yum:
sudo yum install "perl(crypt::ssleay)"
Comments
Post a Comment