You are right, installing Net::SSH2 on ActiveState Perl on Windows is pretty difficult. A document explaining how to do it exists on the distribution but to be honest, I wasn't able to successfully follow it myself.

:) Well step 1 is wrong :D for all perls you want http://mingw-w64.sourceforge.net/ its the better compiler

Also, the latest strawberryperl comes bundled with libssh2 and all the prereqs including the compiler, also the module, and the better compiler ...

So if you want to install it into ActivePerl, install strawberryperlportable, so you get all the prerequisites pre compile..... then use the activeperl...perl.exe to run Makefile.PL and compile the thing specifically for activeperl .... copy some .dlls and you're done

Actually that just more of the same busywork, http://www.sisyphusion.tk/ppm/Net-SSH2.ppd has already gone through all those steps and provided binaries


In reply to Re^4: Net-SSH2 on Windows with Perl 5.14 by Anonymous Monk
in thread Net-SSH2 on Windows with Perl 5.14 by gepapa

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.