From: Ricardo Caldeira <ricardo_caldeira@hotmail.com>
To: <cygwin@cygwin.com>
Subject: Problem when installing Net::SSH2 via CPAN - libssh2 not found
Date: Fri, 11 May 2012 00:36:00 -0000 [thread overview]
Message-ID: <BAY158-W6470571501E4BDC0220E1EE5170@phx.gbl> (raw)
In-Reply-To: <BAY158-W2058BDABCF86A91745F269E5170@phx.gbl>
Hi,
I'm trying to install Net:SSH2 via CPAN, but I'm stuck with the libssh2 library.After executing "install Net::SSH2" the following message is received (after running make and doing some other stuff):
-----------------------------------------------------------------------------------::The libssh2 library is required by this module. If you don't have it, you candownload it from http://www.libssh2.org; you may also need OpenSSL, which can beobtained from http://www.openssl.org.
Debian: sudo aptitude install libssh2-1-devOpenSUSE: 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 thedistribution.
Can't link/include 'ssh2'No 'Makefile' created RKITOVER/Net-SSH2-0.44.tar.gz /usr/bin/perl Makefile.PL -- NOT OKRunning make test Make had some problems, won't testRunning make install Make had some problems, won't installFailed during this command: RKITOVER/Net-SSH2-0.44.tar.gz : writemakefile NO -- No 'Makefile' created::-----------------------------------------------------------------------------------
However, looking at the installed packages in Cygwin, it seems that libssh2 is properly installed:
$ cygcheck -cCygwin Package InformationPackage Version Status::libssh2-devel 1.4.0-1 OKlibssh2_1 1.4.0-1 OK::
Is there any other thing that I might be missing?I'm using Cygwin Setup.exe version (2.774).
Cheers,Ricardo Caldeira
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next parent reply other threads:[~2012-05-11 0:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BAY158-W39F2901BAA4F37D8FD6F4E5110@phx.gbl>
[not found] ` <BAY158-W575CB377F075200E1F5704E5160@phx.gbl>
[not found] ` <BAY158-W92A01AE26A306AD48D5E6E5170@phx.gbl>
[not found] ` <BAY158-W2058BDABCF86A91745F269E5170@phx.gbl>
2012-05-11 0:36 ` Ricardo Caldeira [this message]
2012-05-11 6:54 ` Yaakov (Cygwin/X)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY158-W6470571501E4BDC0220E1EE5170@phx.gbl \
--to=ricardo_caldeira@hotmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).