I'm trying to install 'Net::SSH::Perl' on a Windows Box.

I'm trying to install 'Net::SSH::Perl' on a Windows Box.

Post by geeksatlar » Mon, 16 Mar 2009 17:56:08



Hi everyone,

I'm trying to install 'Net::SSH::Perl' on a Windows Box. I'm reading from 'perldoc ppm'.

First I did 'ppm search Net::SSH::Perl' and got "Packages available from http://www.yqcomputer.com/ :
Net-SSH-Perl [1.30] Perl client interface to SSH"

Then I used the command:

'ppm install --location= http://www.yqcomputer.com/ ::SSH::Perl' and got "Installing package 'Net-SSH-Perl'...
Can't locate object method "rvalidate" via package "PPM::XML::PPD::html" at C:/strawberry/perl/site/lib/PPM.pm line 16
87."

The package did not install so I googled this response but didn't come up with any clear-cut direction.

...any suggestions? I also ran accross the following while searching CPAN:

Net::SSH::W32Perl
MSWin32 compatibility layer for Net::SSH::Perl

Is this also needed; does anyone know where I've gone astray?


Ron Smith
XXXX@XXXXX.COM
 
 
 

I'm trying to install 'Net::SSH::Perl' on a Windows Box.

Post by chas.owen » Mon, 16 Mar 2009 21:46:33


snip
snip

Odd, I thought the point of Strawberry Perl was to make it so that
CPAN just worked on Windows and to avoid the whole ActiveState PPM
mess. Try this instead:

cpan Net::SSH::Perl

That should attempt to install Net::SSH::Perl and all of its
dependencies. It may ask you to configure CPAN first. If it does
choose the defaults for every thing but the mirrors.

--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

 
 
 

I'm trying to install 'Net::SSH::Perl' on a Windows Box.

Post by geeksatlar » Tue, 17 Mar 2009 16:51:19


Thanks again! Yeah, that worked just fine. There are other issues getting 'Net::SSH::Perl' installed though. When I do the install from CPAN I get:

All tests successful.
Files=12, Tests=106, 2 wallclock secs ( 0.13 usr + 0.06 sys = 0.19 CPU)
Result: PASS
TURNSTEP/Net-SSH-Perl-1.34.tar.gz
Tests succeeded but one dependency not OK (Math::GMP)
TURNSTEP/Net-SSH-Perl-1.34.tar.gz
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force

Then when I try installing 'Math::GMP' I get:

PS C:\Documents and Settings\Ron Smith> cpan Math::GMP
Database was generated on Mon, 16 Mar 2009 05:39:02 GMT
Running install for module 'Math::GMP'
Running make for T/TU/TURNSTEP/Math-GMP-2.05.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\T\TU\TURNSTEP\Math-GMP-2.05.tar.gz ok

CPAN.pm: Going to build T/TU/TURNSTEP/Math-GMP-2.05.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Math::GMP

==========================================================

WARNING! No GMP libraries were detected!

Please see the INSTALL file.

===========================================================

Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
TURNSTEP/Math-GMP-2.05.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
PS C:\Documents and Settings\Ron Smith>

So, I'll be taking a look at that 'INSTALL' file first.


Ron Smith
XXXX@XXXXX.COM
 
 
 

I'm trying to install 'Net::SSH::Perl' on a Windows Box.

Post by chas.owen » Tue, 17 Mar 2009 22:51:31


snip
snip
snip
snip

The Net::SSH::Perl library depends on Math::GMP or Math::Pari to do
the heavy math stuff of the SSH protocol. They are both thin wrappers
around C libraries. It looks like the makefile is trying to install
the library for you, but is having difficulty decompressing the source
due to the lack of the compress command in Windows. It looks like
some other people have had your problem and found ways around it:

http://www.yqcomputer.com/
http://www.yqcomputer.com/


--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
 
 
 

I'm trying to install 'Net::SSH::Perl' on a Windows Box.

Post by geeksatlar » Wed, 18 Mar 2009 14:19:24


I installed 'Math::Pari' and still get 'WARNING! No GMP libraries were detected!'. So, I tried to install 'Math::GMP, but get really lost in the process of doing that.

....any further suggestions would be appreciated.

Thanks.


Ron Smith
XXXX@XXXXX.COM