installing Net::SSH::Perl

C

cerr

Hi There,

I've been trying to install "Net::SSH::perl" from cpan(http://
search.cpan.org/~turnstep/Net-SSH-Perl-1.34/lib/Net/SSH/Perl.pm)
because i need an ssh connection to a client but i'm having serious
issues.
I've been trying to install it with perl -MCPAN -e 'install
Net::SSH::perl' and by choosing all the default options i get to
following:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-
dh.t
t/00-compile.t .. Math::BigInt: couldn't load specified math lib(s),
fallback to Math::BigInt::FastCalc at /home/reg/.cpan/build/Crypt-
DH-0.06-FepXlP/blib/lib/Crypt/DH.pm line 6
t/00-compile.t .. ok
t/01-dh.t ....... Math::BigInt: couldn't load specified math lib(s),
fallback to Math::BigInt::FastCalc at /home/reg/.cpan/build/Crypt-
DH-0.06-FepXlP/blib/lib/Crypt/DH.pm line 6
t/01-dh.t ....... 15/18

and there it just keeps hanging, ain't goin anywhere from here... :eek:

And then if i do a:

perl -MCPAN -e 'install Math::BigInt::FastCalc'

I get this:

CPAN: Storable loaded ok (v2.20)
Going to read '/home/reg/.cpan/Metadata'
Database was generated on Thu, 27 May 2010 22:27:07 GMT
Math::BigInt::FastCalc is up to date (0.19).

How can I get Net::SSH::perl installed properly?
Thank you!
Ron
 
C

cerr

[snip]

Okay, i've been able to install it by downloading the .tar.gz and
compiling/installing it manually. But if i have a script that looks
like this:

[perl]
#!/usr/bin/perl -w
use strict;
use Net::SSH::perl;
[/perl]

and execute this i still get:
../checkINITnPDS.pl
Can't locate Net/SSH/perl.pm in @INC (@INC contains: /etc/perl /usr/
local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/
share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/
site_perl .) at ./checkINITnPDS.pl line 3.
BEGIN failed--compilation aborted at ./checkINITnPDS.pl line 3.
:(( What's going on here? :eek:
 
C

C.DeRykus

[snip]

Okay, i've been able to install it by downloading the .tar.gz and
compiling/installing it manually. But if i have a script that looks
like this:

[perl]
#!/usr/bin/perl -w
use strict;
use Net::SSH::perl;
^^^^^
Perl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,738
Latest member
TiffinyHol

Latest Threads

Top