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/