
tbone587
User
Apr 26, 2012, 5:44 AM
Post #1 of 2
(1059 views)
|
|
Issue Installing Net::SSH2
|
Can't Post
|
|
I have been trying to install the Net::SSH2 module, but I cannot get it to install fully using cpan - install Net::SSH2. I get the errors below at the end and I cant figure it out. I have libssh2 installed as far as I know.. Any help would be greatly appreciated. Subroutine checklibs redefined at inc/Module/Install/CheckLib.pm line 11. Subroutine assertlibs redefined at inc/Module/Install/CheckLib.pm line 25. Subroutine _author_side redefined at inc/Module/Install/CheckLib.pm line 39. 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 You can pass your libssh2 lib and include dirs on the command line. E.g.: perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include If you want to build on Windows, see the file BUILDING.WIN32 in the distribution. Can't link/include 'libssh2.h', 'ssh2' No 'Makefile' created RKITOVER/Net-SSH2-0.44.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: RKITOVER/Net-SSH2-0.44.tar.gz : writemakefile NO -- No 'Makefile' created
|