Trying to install Net :: OpenSSH but returning the wrong version for dependencies

I work with some deprecated perl 5.8.8 code, and usually I check installed packages with perl -MNet::OpenSSH -e 'print "worked \n"'

If it is absent, it indicates:

Can't locate Net/OpenSSH.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).
        BEGIN failed--compilation aborted.

This is normal. Then I run cpanm and it installs. However, with this OpenSSH module, I come back to the fact that some dependencies are not a valid version.

kristen:/web# cpanm Net::OpenSSH
install is up to date. (0.01)
--> Working on Net::OpenSSH
Fetching http://www.cpan.org/authors/id/S/SA/SALVA/Net-OpenSSH-0.62.tar.gz ... OK
Configuring Net-OpenSSH-0.62 ... OK
Failed to clean-up 2 metadata. Errors:
'version=HASH(0x8eb66f4)' for 'Test::More' is not a valid version. (prereqs -> runtime -> requires -> Test::More) [Validation: 2]
'version=HASH(0x8eb6700)' for 'ExtUtils::MakeMaker' is not a valid version. (prereqs -> configure -> requires -> ExtUtils::MakeMaker) [Validation: 2]
'version=HASH(0x8eb69f4)' for 'ExtUtils::MakeMaker' is not a valid version. (prereqs -> build -> requires -> ExtUtils::MakeMaker) [Validation: 2]

I used cpanm upgrade Test::Moreone that did not solve the problem for this module, so I think I need a lower version number. So, how can I check which versions I need to use Net :: OpenSSH?

+4
source share
1 answer

cpanm, .

+2

Source: https://habr.com/ru/post/1570796/


All Articles