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?

In reply to net::ssh2 module wont install RHEL6 by SkyFulcrum

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.