Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

installing/usingNet::SSH::Perl

by adam.lapins (Initiate)
on Jun 29, 2005 at 20:02 UTC ( [id://471156]=perlquestion: print w/replies, xml ) Need Help??

adam.lapins has asked for the wisdom of the Perl Monks concerning the following question:

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.

Replies are listed 'Best First'.
Re: installing/usingNet::SSH::Perl
by Xaositect (Friar) on Jun 29, 2005 at 20:20 UTC

    Have you tried installing via the CPAN module?

    If you're using Windows and ActiveState's ppm, you should be able to type 'ppm' on the command line (probably also a shortcut to it in your start menu) and type 'install Some::Module' at the prompt. (I also notice a Net::SSH::W32Perl ) I can't remember the last time I had to install a perl module by actually running the makefile myself.


    Xaositect - Whitepages.com
Re: installing/usingNet::SSH::Perl
by Anonymous Monk on Jun 30, 2005 at 06:38 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://471156]
Approved by Paladin
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 04:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found