X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <23851728.post@talk.nabble.com> Date: Wed, 3 Jun 2009 06:45:01 -0700 (PDT) From: Marc Girod To: cygwin AT cygwin DOT com Subject: Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp? In-Reply-To: <200906031305.n53D501B021759@mail10.syd.optusnet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <23830861 DOT post AT talk DOT nabble DOT com> <200906031305 DOT n53D501B021759 AT mail10 DOT syd DOT optusnet DOT com DOT au> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Sisyphus wrote: > > I've found Net::SSH2 to be quite good (though I've only used it on > 'native' win32) - haven't tried Net::SSH::Perl. > Thanks. tried it. However, 'perl Makefile.PL' doesn't seem to find the bits I installed from libssh2-devel. I had to set: my $lib = '/usr/lib'; my $inc = '/usr/include'; Even with those, the compilation fails: gcc -c -I/usr/include -I. -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" SSH2.c In file included from SSH2.xs:11: ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined In file included from SSH2.xs:8: /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:317:1: warning: this is the location of the previous definition SSH2.c: In function `XS_Net__SSH2_blocking': SSH2.c:708: warning: cast to pointer from integer of different size SSH2.c: In function `XS_Net__SSH2_DESTROY': SSH2.c:736: warning: cast to pointer from integer of different size SSH2.xs: In function `XS_Net__SSH2_version': SSH2.xs:581: error: `LIBSSH2_VERSION_NUM' undeclared (first use in this function) SSH2.xs:581: error: (Each undeclared identifier is reported only once SSH2.xs:581: error: for each function it appears in.) ... make: *** [SSH2.o] Error 1 Marc -- View this message in context: http://www.nabble.com/Trying-to-install-CPAN-Math%3A%3AGMP.-Can-libgmp3-provide--libgmp--tp23830861p23851728.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/