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

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

am 15.03.2009 09:56:08 von Ron Smith

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://cpan.uwinnipeg.ca/PPMPackages/10xx:
Net-SSH-Perl [1.30] Perl client interface to SSH"

Then I used the command:

'ppm install --location=http://cpan.uwinnipeg.ca/PPMPackages/10xx Net::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
geeksatlarge@yahoo.com

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

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

am 15.03.2009 13:46:33 von chas.owens

On Sun, Mar 15, 2009 at 04:56, Ron Smith wrote:
snip
> Can't locate object method "rvalidate" via package "PPM::XML::PPD::html" at C:/strawberry/perl/site/lib/PPM.pm line 16
> 87."
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.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

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

am 16.03.2009 08:51:19 von Ron Smith

--- On Sun, 3/15/09, Chas. Owens wrote:

> From: Chas. Owens
> Subject: Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.
> To: geeksatlarge@yahoo.com
> Cc: "Perl"
> Date: Sunday, March 15, 2009, 5:46 AM
> On Sun, Mar 15, 2009 at 04:56, Ron Smith
> wrote:
> snip
> > Can't locate object method "rvalidate"
> via package "PPM::XML::PPD::html" at
> C:/strawberry/perl/site/lib/PPM.pm line 16
> > 87."
> 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
>

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
geeksatlarge@yahoo.com

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

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

am 16.03.2009 14:51:31 von chas.owens

On Mon, Mar 16, 2009 at 03:51, Ron Smith wrote:
snip
> Then when I try installing 'Math::GMP' I get:
snip
> WARNING! No GMP libraries were detected!
snip
> Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.P=
L]
>  TURNSTEP/Math-GMP-2.05.tar.gz
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.nntp.perl.org/group/perl.win32.vanilla/2008/07/ms g49.html
http://win32.perl.org/wiki/index.php?title=3DInstall_Math-Pa ri_on_Strawberr=
y_Perl


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

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

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

am 17.03.2009 06:19:24 von Ron Smith

--- On Mon, 3/16/09, Chas. Owens wrote:

> From: Chas. Owens
> Subject: Re: I'm trying to install 'Net::SSH::Perl' on a Windows Box.
> To: geeksatlarge@yahoo.com
> Cc: "Perl"
> Date: Monday, March 16, 2009, 6:51 AM
> On Mon, Mar 16, 2009 at 03:51, Ron Smith
> wrote:
> snip
> > Then when I try installing 'Math::GMP' I get:
> snip
> > WARNING! No GMP libraries were detected!
> snip
> > Warning: No success on
> command[C:\strawberry\perl\bin\perl.exe
> Makefile.PL]
> > =A0TURNSTEP/Math-GMP-2.05.tar.gz
> snip
>=20
> 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:
>=20
> http://www.nntp.perl.org/group/perl.win32.vanilla/2008/07/ms g49.html
> http://win32.perl.org/wiki/index.php?title=3DInstall_Math-Pa ri_on_Strawbe=
rry_Perl
>=20
>=20
> --=20
> Chas. Owens
> wonkden.net
> The most important skill a programmer can have is the
> ability to read.

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

....any further suggestions would be appreciated.

Thanks.


Ron Smith
geeksatlarge@yahoo.com

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/