I've been trying to install Net::SSH2 for 2 days without success.
I'm using Win XP and Perl 5.8(Strawberry). I tried 5.10 but then I read somewhere on this site that there might be a compatibility issue w/Net::SSH2 & 5.10 so I uninstalled 5.10 and installed 5.8.
This was the error when using CPAN, CPANP or a manual ‘perl make.pl’:
“The libssh2 library is required by this module. If you don't have it +, you can download it from http://www.libssh2.org; you may also need +OpenSSL, which can be obtained from http://www.openssl.org. Debian: sudo aptitude install libssh2-1-dev OpenSUSE: sudo zypper in libssh2-1 libssh2-devel Can't link/include ‘libssh2.h’, 'ssh2'
But then I copied \libssh2-0.12\include\libssh2.h to C:\strawberry\c\include and now I get the same error except the last line is:
Can't link/include 'ssh2'I've read this post: http://www.perlmonks.org/?node_id=581715, but the command in the post doesn’t work on WinXP. Here's an excerpt from the 'INSTALL' file in the libssh2-0.12 folder:
! * Run: ./configure (passing additional options as desired) In addition the the standard set of ./configure options (e.g. --pr +efix) ! * --with-openssl=[DIR] ! ./configure will attempt to locate OpenSSL in a number of defa +ult locations: /usr/local/ssl /usr/local /usr /usr/local/openssl !
The “INSTALL” file included with libssh2 doesn’t apply to WinXP . . .
Also, I'm not familiar with any of the file extensions in the libssh2-0.12\win32 folder: ".mk, .dsp, .dsw, & .h". Are these extensions for WinXP?
Any help is greatly appreciated!!
In reply to Can't install Net::SSH2 on win32 (libssh2, openssl) by clutch2k3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |