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:
perl 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
or same result
perl Makefile.PL lib=/usr/lib64 inc=/usr/include
The packages needed are installed with yum with following versions:
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
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?