Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Net-SSH2 on Windows with Perl 5.14

by gepapa (Acolyte)
on Jan 25, 2012 at 16:11 UTC ( #949926=perlquestion: print w/ replies, xml ) Need Help??
gepapa has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, I haven't had much luck finding (or compiling myself) a PPM for Net-SSH2 on Windows with ActiveState 5.14. Does anyone have a link to a pre-built PPM, or some suggestions based off of your own adventure in compiling this? Thanks

Comment on Net-SSH2 on Windows with Perl 5.14
Re: Net-SSH2 on Windows with Perl 5.14
by Anonymous Monk on Jan 26, 2012 at 01:48 UTC
Re: Net-SSH2 on Windows with Perl 5.14
by dasgar (Deacon) on Jan 26, 2012 at 04:59 UTC

    I have not tried installing that particular module from CPAN myself, but I have found it to be fairly easy to install modules directly from CPAN into ActivePerl.

    Here's the steps:

    • Use PPM to install mingw and dmake, which are available from the default ActiveState repository.
    • If your system is behind a proxy, you'll need to add the http_proxy environment variable with the correct information to you Windows OS.
    • Now, from a command prompt, you can install modules directly from CPAN by using syntax like cpan install Net::SSH2

    Of course, it does look like that module you're interested in does require the libssh2 library to be installed first. Since I have not been through that process myself, I can't offer any pointers on how to get that library installed properly.

    If you're not strictly tied to using ActivePerl 5.14, Strawberry Perl 5.12.3.0 does have a version of Net::SSH2 already included, which was mentioned in another response. Also, Strawberry Perl does have a preview release of 5.14. I'm assuming that Net::SSH2 would be included, but can't say for sure.

Re: Net-SSH2 on Windows with Perl 5.14
by mendeepak (Beadle) on Jan 27, 2012 at 06:01 UTC

    From what you have written i could understand that you are not able to install the perl module Net::SSH2 in AcivePerl if that's the case simply open your comamd prompt and type  ppm install Net::SSH2 and hit enter..

      Thanks, Installed Net::SSH2 successfully with ppm install http://www.sisyphusion.tk/ppm/Net-SSH2.ppd command.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://949926]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-09-03 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls