[Ssh-sftp-perl-users] Trouble building Net-SSH2-0.40
Brought to you by:
dbrobins
From: Joseph W. <tel...@gm...> - 2012-02-21 22:44:45
|
Hello, I am having the hardest time building Net-SSH2-0.40 on Slackware 13.1 with a custom build of Perl, openssl, and libssh2. I have tried every imaginable combination. For example: bash-4.1$ which openssl /xtra/bin/openssl bash-4.1$ which perl /xtra/bin/perl bash-4.1$ ls /xtra/lib engines libssh2.a libssh2.so.1.0.1 libunbound.so pkgconfig libcrypto.a libssh2.la libssl.a libunbound.so.2 ssh2 libgd-static.a libssh2.so libunbound.a libunbound.so.2.11.0 libgd.so libssh2.so.1 libunbound.la perl5 bash-4.1$ pwd /home/surf/src/Net-SSH2-0.40 bash-4.1$ perl Makefile.PL lib=/xtra/lib inc=/xtra/include 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 Can't link/include 'ssh2' -- Best Regards, [Joseph] Christian Werner Sr C 360.920.7183 H 757.304.0502 |