Search code examples
windowsperlsshsftpwindows-server

Perl - Unable to install Net::SSH2 on windows


I'm attempting to install Net::SSH2 using cpan on Windows. I'm unable to install and getting the following error:

Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site] SALVA/Net-SSH2-0.69.tar.gz C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK

Does anyone know why I'm receiving this error. Any help is greatly appreciated. The entire output is posted via screenshots below:

screenshot of my output screenshot of my output continued


Solution

  • Compiling Net::SSH2 for Activestate Perl is not an easy task.

    Fortunately, Sisyphus has set up a repository of precompiled Perl packages (PPMs) which includes Net::SSH2: http://www.sisyphusion.tk/ppmindex.html