Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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
Replies are listed 'Best First'.
Re: Net-SSH2 on Windows with Perl 5.14
by dasgar (Curate) 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 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 Anonymous Monk on Jan 26, 2012 at 01:48 UTC
Re: Net-SSH2 on Windows with Perl 5.14
by mendeepak (Scribe) 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 command.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-09-02 19:56 GMT
Find Nodes?
    Voting Booth?

    My preferred temperature scale is:

    Results (88 votes), past polls