From: cerr on
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... :o

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
From: cerr on
[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? :o
From: C.DeRykus on
On May 28, 9:05 am, cerr <ron.egg...(a)gmail.com> wrote:
> [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

--
Charles DeRykus