All, I am very new to perl and am trying to use the Net::SSH::Perl module without any success...I am new at installing packages, and am trying to use PPM as well as download it and use the command:
perl -MNet-SSH-Perl -e nmake && nmake test
and I get insane errors below is what I get...any help with how to get this module working would be great! when I run the command:
perl makefile.pl
my results are:
Warning: prerequisite Crypt::DH 0.01 not found. Warning: prerequisite Crypt::DSA 0.11 not found. Warning: prerequisite Crypt::IDEA 0 not found. Warning: prerequisite Math::GMP 1.04 not found. Warning: prerequisite Math::Pari 2.001804 not found. Warning: prerequisite String::CRC32 1.2 not found.
when I try the command:
nmake && nmake test
the results are:
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harn +ess(0, 'bl ib\lib', 'blib\arch')" t\01-compile.t t\02-buffer.t t\03-packet.t t\04 +-config.t t\05-cipher.t t\06-circular.t t\01-compile.....ok t\02-buffer......Can't locate Math/GMP.pm in @INC (@INC contains: C:\1 +\blib\lib C:\1\blib\arch C:/Perl/lib C:/Perl/site/lib . C:/Perl/lib C:/Perl/site +/lib .) at t\02-buffer.t line 9. BEGIN failed--compilation aborted at t\02-buffer.t line 9. t\02-buffer......dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-19 Failed 19/19 tests, 0.00% okay t\03-packet......skipped all skipped: Can't do packet tests without String::CRC32 t\04-config......ok 23/25Use of uninitialized value in concatenation ( +.) or stri ng at C:\1\blib\lib/Net/SSH/Perl.pm line 108. t\04-config......ok t\05-cipher......ok t\06-circular....ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t\02-buffer.t 2 512 19 38 200.00% 1-19 1 test skipped. Failed 1/6 test scripts, 83.33% okay. 19/82 subtests failed, 76.83% ok +ay. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code ' +0xff' Stop.
Please help! BTW I know that I need the prerequisite files but I can't find those either. I would preffer to use PPM but it does not look like this module is in the repository.

In reply to installing/usingNet::SSH::Perl by adam.lapins

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.