SkyFulcrum has asked for the wisdom of the Perl Monks concerning the following question:
Hi, i got a little stucked in installation of the Net:SSH2 module in a Redhat EL6 Distribution.
When i start the makefile following result will given:
or same resultperl Makefile.PL lib=/usr/local/lib inc=/usr/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 li +ne 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, wh +ich 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. Writing Makefile for Net::SSH2 Writing MYMETA.yml and MYMETA.json
The packages needed are installed with yum with following versions:perl Makefile.PL lib=/usr/lib64 inc=/usr/include
Now i downloaded a tarball and compiled the libssh2 to the first written directories without any changes. (I read this as solution here some time ago posted) I am completely stucked what could be wrong. Can anyone help me to get a clean makefile?libssh2: libssh2-1.2.2-11.el6_3.x86_64 openssl: openssl-1.0.0-25.el6_3.1.x86_64 zlib: zlib-1.2.3-27.el6.x86_64
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: net::ssh2 module wont install RHEL6
by aitap (Curate) on Jan 15, 2013 at 11:11 UTC | |
Re: net::ssh2 module wont install RHEL6
by Anonymous Monk on Jan 15, 2013 at 11:02 UTC | |
Re: net::ssh2 module wont install RHEL6
by Anonymous Monk on Jan 15, 2013 at 11:14 UTC | |
by SkyFulcrum (Initiate) on Jan 15, 2013 at 12:07 UTC | |
by Anonymous Monk on Jan 15, 2013 at 12:12 UTC | |
by SkyFulcrum (Initiate) on Jan 15, 2013 at 15:15 UTC |
Back to
Seekers of Perl Wisdom