O'Brien, Bill wrote: > Greetings, > > Not sure if this is correct place, but I need to start somewhere, I have > cygwin install on my work station and I'm trying to to use > NET::SSH::Perl but I'm getting an error. > I have installed NET:SSH:Perl-1.28, but I'm getting the following error, > when I run the script. > Can't locate Math/GMP.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/5.8.5 > /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int > /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.5/cygwin-thread-multi-64int > /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Util/SSH1MP.pm line 7, > <GEN0> line 1. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Util/SSH1MP.pm line 7, > <GEN0> line 1. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Util.pm line 56, <GEN0> line > 1. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/Key/RSA1.pm line 6, <GEN0> > line 1. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/SSH1.pm line 13, <GEN0> line > 1. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl/SSH1.pm line 13, <GEN0> line > 1. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.5/Net/SSH/Perl.pm line 52, <GEN0> line 1. > > I'm trying to install the GMP version MATH::GMP 2.04 but that is failing > with these errors but I'm not sure why it is failing: > [EMAIL PROTECTED]:~/.cpan/sources/modules/Math-GMP-2.04$ make test > gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe > -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"2.04\" > -DXS_VERSION=\"2.04\" > "-I/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE" GMP.c > gcc: not found > make: *** [GMP.o] Error 127 >
gcc not found indicates you don't have the gcc compiler installed. Try installing gcc through Cygwin, then re-try the Math::GMP installation. http://danconia.org > Thanks > > Bill > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>