pmu has asked for the wisdom of the Perl Monks concerning the following question:
Respected Monks,
I am trying to install Net::SSH::Perl on Strawberry Perl Version 5.18.2 (32 Bit). This is Strawberry Portable Perl. Kindly take a look at the below output.
C:\Users\pmu>perl --version This is perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x +86-multi-thread-64int Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\Users\pmu>cpanm Net::SSH::Perl --> Working on Net::SSH::Perl Fetching http://www.cpan.org/authors/id/S/SC/SCHWIGON/Net-SSH-Perl-1.3 +6.tar.gz ... OK Configuring Net-SSH-Perl-1.36 ... OK Building and testing Net-SSH-Perl-1.36 ... FAIL ! Installing Net::SSH::Perl failed. See C:\MY32BI~2\data\.cpanm\work\1 +391439225.3880\build.log for details. Retry with --force to force ins +tall it.
I went through the log file, but not sure where I need to set the variables. Given below is the extract from that file.
t/99-perlcritic.t .. skipped: Set the environment variable TEST_CRITIC + to enable this test t/99-pod.t ......... skipped: Test not ready yet. t/99-spellcheck.t .. skipped: Set the environment variable TEST_SPELL +to enable this test t/99-yaml.t ........ skipped: Set the environment variable TEST_AUTHOR + to enable this test
The last line in the log file also states that I can use the --force option to install. My question is, if I install it that ways, will it work right or throw up some un expected errors/bugs?
Kindly do let me know. I have given the entire log file below.
cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x86-m +ulti-thread-64int Work directory is C:\MY32BI~2\data/.cpanm/work/1391439225.3880 You have make C:\my32bitperl_518\c\bin\dmake.exe You have LWP 6.05 Falling back to Archive::Tar 1.96 Searching Net::SSH::Perl on cpanmetadb ... --> Working on Net::SSH::Perl Fetching http://www.cpan.org/authors/id/S/SC/SCHWIGON/Net-SSH-Perl-1.3 +6.tar.gz -> OK Unpacking Net-SSH-Perl-1.36.tar.gz Entering Net-SSH-Perl-1.36 Checking configure dependencies from META.yml Configuring Net-SSH-Perl-1.36 Running Makefile.PL This is Net::SSH::Perl. As of version 1.00, Net::SSH::Perl supports both the SSH1 and SSH2 protocols natively. The two protocols have different module prerequisitives, so you need to decide which protocol(s) you plan to use. If you use one or the other, only those modules for your chosen protocol will be installed; if you choose both, all of the supporting modules will be installed. Please choose the protocols you'd like to use from the following list ("Both" is the default). [1] SSH1 [2] SSH2 [3] Both SSH1 and SSH2 Which protocol(s) do you plan to use? [3] 3 Some of the Net::SSH::Perl ciphers depend on a Crypt:: module from CPAN. You may already have the necessary modules installed, in which case you don't need to bother with this step. Otherwise you'll need to install at least one cipher to use Net::SSH::Perl. Please choose at least one from the following list (Crypt::IDEA is the default). [1] IDEA [2] DES [3] DES3 [4] Blowfish [5] RC4 Enter your choices, separated by spaces: [1] 1 Checking for optional modules Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Net::SSH::Perl Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have IO::Socket 0 ... Yes (1.36) Checking if you have Scalar::Util 0 ... Yes (1.35) Checking if you have Math::Pari 2.001804 ... Yes (2.01080605) Checking if you have MIME::Base64 0 ... Yes (3.14) Checking if you have Digest::HMAC_MD5 0 ... Yes (1.01) Checking if you have Digest::SHA1 2.10 ... Yes (2.13) Checking if you have Crypt::DSA 0.11 ... Yes (1.17) Checking if you have Digest::HMAC_SHA1 0 ... Yes (1.03) Checking if you have String::CRC32 1.2 ... Yes (1.5) Checking if you have Digest::MD5 0 ... Yes (2.53) Checking if you have Crypt::IDEA 0 ... Yes (1.10) Checking if you have Crypt::DH 0.01 ... Yes (0.07) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.84) Checking if you have Math::GMP 1.04 ... Yes (2.06) Checking if you have Convert::PEM 0.05 ... Yes (0.08) Building and testing Net-SSH-Perl-1.36 cp lib/Net/SSH/Perl/Auth/KeyboardInt.pm blib\lib\Net\SSH\Perl\Auth\Key +boardInt.pm cp lib/Net/SSH/Perl/Channel.pm blib\lib\Net\SSH\Perl\Channel.pm cp lib/Net/SSH/Perl/Cipher.pm blib\lib\Net\SSH\Perl\Cipher.pm cp lib/Net/SSH/Perl/AuthMgr.pm blib\lib\Net\SSH\Perl\AuthMgr.pm cp lib/Net/SSH/Perl/Auth.pm blib\lib\Net\SSH\Perl\Auth.pm cp lib/Net/SSH/Perl/Cipher/Blowfish.pm blib\lib\Net\SSH\Perl\Cipher\Bl +owfish.pm cp lib/Net/SSH/Perl/Cipher/CBC.pm blib\lib\Net\SSH\Perl\Cipher\CBC.pm cp lib/Net/SSH/Perl/Auth/Rhosts.pm blib\lib\Net\SSH\Perl\Auth\Rhosts.p +m cp lib/Net/SSH/Perl/Auth/PublicKey.pm blib\lib\Net\SSH\Perl\Auth\Publi +cKey.pm cp lib/Net/SSH/Perl/Auth/KeyboardInteractive.pm blib\lib\Net\SSH\Perl\ +Auth\KeyboardInteractive.pm cp lib/Net/SSH/Perl/ChannelMgr.pm blib\lib\Net\SSH\Perl\ChannelMgr.pm cp lib/Net/SSH/Perl/Agent.pm blib\lib\Net\SSH\Perl\Agent.pm cp lib/Net/SSH/Perl/Auth/RSA.pm blib\lib\Net\SSH\Perl\Auth\RSA.pm cp lib/Net/SSH/Perl/Auth/Rhosts_RSA.pm blib\lib\Net\SSH\Perl\Auth\Rhos +ts_RSA.pm cp lib/Net/SSH/Perl/Buffer.pm blib\lib\Net\SSH\Perl\Buffer.pm cp lib/Net/SSH/Perl.pm blib\lib\Net\SSH\Perl.pm cp lib/Net/SSH/Perl/Auth/Password.pm blib\lib\Net\SSH\Perl\Auth\Passwo +rd.pm cp lib/Net/SSH/Perl/Auth/ChallengeResponse.pm blib\lib\Net\SSH\Perl\Au +th\ChallengeResponse.pm cp lib/Net/SSH/Perl/Comp.pm blib\lib\Net\SSH\Perl\Comp.pm cp lib/Net/SSH/Perl/Mac.pm blib\lib\Net\SSH\Perl\Mac.pm cp lib/Net/SSH/Perl/Handle/SSH2.pm blib\lib\Net\SSH\Perl\Handle\SSH2.p +m cp lib/Net/SSH/Perl/Cipher/CFB.pm blib\lib\Net\SSH\Perl\Cipher\CFB.pm cp lib/Net/SSH/Perl/Kex.pm blib\lib\Net\SSH\Perl\Kex.pm cp lib/Net/SSH/Perl/Handle.pm blib\lib\Net\SSH\Perl\Handle.pm cp lib/Net/SSH/Perl/Key/RSA.pm blib\lib\Net\SSH\Perl\Key\RSA.pm cp lib/Net/SSH/Perl/Cipher/DES3.pm blib\lib\Net\SSH\Perl\Cipher\DES3.p +m cp lib/Net/SSH/Perl/Key/DSA.pm blib\lib\Net\SSH\Perl\Key\DSA.pm cp lib/Net/SSH/Perl/Config.pm blib\lib\Net\SSH\Perl\Config.pm cp lib/Net/SSH/Perl/Cipher/IDEA.pm blib\lib\Net\SSH\Perl\Cipher\IDEA.p +m cp lib/Net/SSH/Perl/Key.pm blib\lib\Net\SSH\Perl\Key.pm cp lib/Net/SSH/Perl/Cipher/DES.pm blib\lib\Net\SSH\Perl\Cipher\DES.pm cp lib/Net/SSH/Perl/Comp/Zlib.pm blib\lib\Net\SSH\Perl\Comp\Zlib.pm cp lib/Net/SSH/Perl/Kex/DH1.pm blib\lib\Net\SSH\Perl\Kex\DH1.pm cp lib/Net/SSH/Perl/Constants.pm blib\lib\Net\SSH\Perl\Constants.pm cp lib/Net/SSH/Perl/Key/RSA1.pm blib\lib\Net\SSH\Perl\Key\RSA1.pm cp lib/Net/SSH/Perl/Cipher/RC4.pm blib\lib\Net\SSH\Perl\Cipher\RC4.pm cp lib/Net/SSH/Perl/Handle/SSH1.pm blib\lib\Net\SSH\Perl\Handle\SSH1.p +m cp lib/Net/SSH/Perl/Packet.pm blib\lib\Net\SSH\Perl\Packet.pm cp lib/Net/SSH/Perl/SSH1.pm blib\lib\Net\SSH\Perl\SSH1.pm cp lib/Net/SSH/Perl/Util/SSH1Misc.pm blib\lib\Net\SSH\Perl\Util\SSH1Mi +sc.pm cp lib/Net/SSH/Perl/Util/RSA.pm blib\lib\Net\SSH\Perl\Util\RSA.pm cp lib/Net/SSH/Perl/Util/SSH1MP.pm blib\lib\Net\SSH\Perl\Util\SSH1MP.p +m cp lib/Net/SSH/Perl/Util/SSH2MP.pm blib\lib\Net\SSH\Perl\Util\SSH2MP.p +m cp lib/Net/SSH/Perl/Subsystem/Client.pm blib\lib\Net\SSH\Perl\Subsyste +m\Client.pm cp lib/Net/SSH/Perl/Util/Hosts.pm blib\lib\Net\SSH\Perl\Util\Hosts.pm cp lib/Net/SSH/Perl/Util/Term.pm blib\lib\Net\SSH\Perl\Util\Term.pm cp lib/Net/SSH/Perl/Subsystem/Server.pm blib\lib\Net\SSH\Perl\Subsyste +m\Server.pm cp lib/Net/SSH/Perl/Util.pm blib\lib\Net\SSH\Perl\Util.pm cp lib/Net/SSH/Perl/SSH2.pm blib\lib\Net\SSH\Perl\SSH2.pm cp lib/Net/SSH/Perl/Util/Authfile.pm blib\lib\Net\SSH\Perl\Util\Authfi +le.pm C:\my32bitperl_518\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest +::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'bli +b\lib', 'blib\arch')" t/*.t t/00-signature.t ... skipped: Set the environment variable TEST_SIGNAT +URE to enable this test t/01-compile.t ..... ok t/02-buffer.t ...... ok The getpwuid function is unimplemented at C:\MY32BI~2\data\.cpanm\work +\1391439225.3880\Net-SSH-Perl-1.36\blib\lib/Net/SSH/Perl/SSH1.pm line + 30. # Looks like your test exited with 255 before it could output anything +. t/03-packet.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/10 subtests t/04-config.t ...... ok t/05-cipher.t ...... ok t/06-auth.t ........ skipped: Test not enabled yet t/06-circular.t .... ok t/99-perlcritic.t .. skipped: Set the environment variable TEST_CRITIC + to enable this test t/99-pod.t ......... skipped: Test not ready yet. t/99-spellcheck.t .. skipped: Set the environment variable TEST_SPELL +to enable this test t/99-yaml.t ........ skipped: Set the environment variable TEST_AUTHOR + to enable this test Test Summary Report ------------------- t/03-packet.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 10 tests but ran 0. Files=12, Tests=106, 3 wallclock secs ( 0.08 usr + 0.06 sys = 0.14 +CPU) Result: FAIL Failed 1/12 test programs. 0/106 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' -> FAIL Installing Net::SSH::Perl failed. See C:\MY32BI~2\data\.cpanm\ +work\1391439225.3880\build.log for details. Retry with --force to for +ce install it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Will using --force to install Net::SSH::Perl cause any issues?
by Anonymous Monk on Feb 03, 2014 at 15:08 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |