Please bottom post...
Please group reply so others can help and be helped...

O'Brien, Bill wrote:
> Thanks I think that work but know it appears I lost /bin/sh, error below
> any ideas?
> 
> [EMAIL PROTECTED]:~/.cpan/sources/modules/Crypt-RSA-1.56$ which sh
> sh: Command not found.
> [EMAIL PROTECTED]:~/.cpan/sources/modules/Crypt-RSA-1.56$ make
> make: /bin/sh: Command not found
> make: *** [blib/lib/Crypt/.exists] Error 127
> [EMAIL PROTECTED]:~/.cpan/sources/modules/Crypt-RSA-1.56$ which make
> /bin/make
> [EMAIL PROTECTED]:~/.cpan/sources/modules/Crypt-RSA-1.56$ /bin/make
> make: /bin/sh: Command not found
> make: *** [blib/lib/Crypt/.exists] Error 127
> 

Yikes, sounds like a very messed up Cygwin install, or something is
clearing your path. Try displaying the PATH env variable, under bash use:

echo $PATH

And see if it has been cleared. If it looks "normal" then I would
reinstall Cygwin from scratch. This is about the extent of my knowledge
and experience with Cygwin installation.

If that doesn't fix it then you might try posting to a Cygwin list to
get installation assistance. The key for Perl here is that the modules
you are trying to install have a C component that must be compiled,
hence the need for gcc, but that is about the extent of the issue from a
Perl perspective.

HTH,

http://danconia.org

> Thanks
> 
> Bill
> 
> -----Original Message-----
> From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 21, 2005 5:32 PM
> To: O'Brien, Bill
> Cc: beginners@perl.org
> Subject: Re: trying to run net::ssh::perl have errors
> 
> 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>


Reply via email to