delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/10/20:36:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <BAY158-W6470571501E4BDC0220E1EE5170@phx.gbl>
From: Ricardo Caldeira <ricardo_caldeira AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Problem when installing Net::SSH2 via CPAN - libssh2 not found
Date: Thu, 10 May 2012 21:36:09 -0300
In-Reply-To: <BAY158-W2058BDABCF86A91745F269E5170@phx.gbl>
References: <BAY158-W39F2901BAA4F37D8FD6F4E5110 AT phx DOT gbl>,<BAY158-W575CB377F075200E1F5704E5160 AT phx DOT gbl>,<BAY158-W92A01AE26A306AD48D5E6E5170 AT phx DOT gbl>,<BAY158-W2058BDABCF86A91745F269E5170 AT phx DOT gbl>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4B0aRR4025408

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019