in reply to Re: Need Help Installing Net::SSH2
in thread Need Help Installing Net::SSH2

Thx for the reply, but I just installed libssh2-devel (on your advice), and retried Net:SSH2 in CPAN, but still fails in the same place. openssl is also installed already. (Package openssl-1.0.0d-1.fc15.x86_64 already installed and latest version)

Replies are listed 'Best First'.
Re^3: Need Help Installing Net::SSH2
by salva (Canon) on Aug 29, 2011 at 17:02 UTC
    The Makefile.PL script from the latest versions of Net::SSH2 accepts both an inc and lib parameters with the place of libssh2 library and include files. For instance:
    Makefile.PL inc=/usr/include lib=/usr/lib64
    Besides that, Net::OpenSSH::Compat(::SSH2) implements most of Net::SSH2 API on top of Net::OpenSSH and it's pretty easy to install on Unix/Linux system including Fedora.

      Hi Salva. Ah, it looks like I should be able to just use my existing Perl code with that module ... Cool! That will be really helpful if I am unable to get Net::SSH2 installed. I'm actually still trying to do the suggestion below by khen1950, and it's now a case of wanting to learn how to do it properly, which I'd like to do even if the Net::OpenSSH pans out. Anyway, thanks very much for the suggestion. Appreciated!

        Ah, it looks like I should be able to just use my existing Perl code with that module

        Mostly yes, there are some features that can not be emulated by Net::OpenSSH but in my experience those are rarely used.

        Anyway, if you decide to use it, don't hesitate to report any problem you may find.