Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^4: ssh with perl

by varalaxmibbnl (Acolyte)
on Sep 18, 2013 at 13:32 UTC ( #1054654=note: print w/replies, xml ) Need Help??

in reply to Re^3: ssh with perl
in thread ssh with perl

thanks for reply... i,m still getting the same error (Can't locate Net/SSH/ 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 line 5. BEGIN failed--compilation aborted at line 5.).... plz suggest me how to install Net::SSH::Perl on ubuntu... thanks in advance

Replies are listed 'Best First'.
Re^5: ssh with perl
by daxim (Chaplain) on Sep 18, 2013 at 15:25 UTC
    What happens if you run

        cpanm --sudo Net::SSH::Perl

    ? Give the full output.

      thank u so much for reply...... when i run this (cpanm --sudo Net::SSH::Perl) i got the following output.........

      (--> Working on Net::SSH::Perl Fetching +6.tar.gz ... OK Configuring Net-SSH-Perl-1.36 ... OK ==> Found dependencies: Crypt::DSA, Convert::PEM, String::CRC32, Crypt +::RSA, Crypt::IDEA, Digest::HMAC_SHA1, Math::Pari, Digest::HMAC_MD5, +Digest::BubbleBabble, Crypt::DH, Math::GMP --> Working on Crypt::DSA Fetching +gz ... OK Configuring Crypt-DSA-1.17 ... OK ==> Found dependencies: Data::Buffer --> Working on Data::Buffer Fetching +ar.gz ... OK Configuring Data-Buffer-0.04 ... OK Building and testing Data-Buffer-0.04 ... OK Successfully installed Data-Buffer-0.04 Building and testing Crypt-DSA-1.17 ... OK Successfully installed Crypt-DSA-1.17 --> Working on Convert::PEM Fetching +ar.gz ... OK Configuring Convert-PEM-0.08 ... OK ==> Found dependencies: Crypt::DES_EDE3, Convert::ASN1, Class::ErrorHa +ndler --> Working on Crypt::DES_EDE3 Fetching +1.tar.gz ... OK Configuring Crypt-DES_EDE3-0.01 ... OK ==> Found dependencies: Crypt::DES --> Working on Crypt::DES Fetching +.gz ... OK Configuring Crypt-DES-2.07 ... OK Building and testing Crypt-DES-2.07 ... OK Successfully installed Crypt-DES-2.07 Building and testing Crypt-DES_EDE3-0.01 ... OK Successfully installed Crypt-DES_EDE3-0.01 --> Working on Convert::ASN1 Fetching +ar.gz ... OK Configuring Convert-ASN1-0.26 ... OK Building and testing Convert-ASN1-0.26 ... OK Successfully installed Convert-ASN1-0.26 --> Working on Class::ErrorHandler Fetching +ler-0.03.tar.gz ... OK Configuring Class-ErrorHandler-0.03 ... OK Building and testing Class-ErrorHandler-0.03 ... OK Successfully installed Class-ErrorHandler-0.03 Building and testing Convert-PEM-0.08 ... OK Successfully installed Convert-PEM-0.08 --> Working on String::CRC32 Fetching +ar.gz ... OK Configuring String-CRC32-1.4 ... OK Building and testing String-CRC32-1.4 ... OK Successfully installed String-CRC32-1.4 --> Working on Crypt::RSA Fetching +gz ... OK Configuring Crypt-RSA-1.97 ... OK ==> Found dependencies: Tie::EncryptedHash, Crypt::Blowfish, Crypt::Ra +ndom, Convert::ASCII::Armour, Crypt::CBC, Math::Pari, Digest::MD2, Cl +ass::Loader, Sort::Versions, Crypt::Primes --> Working on Tie::EncryptedHash Fetching +.24.tar.gz ... OK Configuring Tie-EncryptedHash-1.24 ... OK ==> Found dependencies: Crypt::CBC, Crypt::Blowfish --> Working on Crypt::CBC Fetching + ... OK Configuring Crypt-CBC-2.33 ... OK Building and testing Crypt-CBC-2.33 ... OK Successfully installed Crypt-CBC-2.33 --> Working on Crypt::Blowfish Fetching +4.tar.gz ... OK Configuring Crypt-Blowfish-2.14 ... OK Building and testing Crypt-Blowfish-2.14 ... OK Successfully installed Crypt-Blowfish-2.14 Building and testing Tie-EncryptedHash-1.24 ... OK Successfully installed Tie-EncryptedHash-1.24 --> Working on Crypt::Random Fetching +ar.gz ... OK Configuring Crypt-Random-1.25 ... OK ==> Found dependencies: Math::Pari, Class::Loader --> Working on Math::Pari Fetching +.01080605.tar.gz ... OK Configuring Math-Pari-2.01080605 ... N/A ! Configure failed for Math-Pari-2.01080605. See /home/bbnladmin/.cpan +m/work/1379567866.1970/build.log for details. --> Working on Class::Loader Fetching +ar.gz ... OK Configuring Class-Loader-2.03 ... OK Building and testing Class-Loader-2.03 ... OK Successfully installed Class-Loader-2.03 ! Installing the dependencies failed: Module 'Math::Pari' is not insta +lled ! Bailing out the installation for Crypt-Random-1.25. --> Working on Convert::ASCII::Armour Fetching +r-1.4.tar.gz ... OK Configuring Convert-ASCII-Armour-1.4 ... OK Building and testing Convert-ASCII-Armour-1.4 ... OK Successfully installed Convert-ASCII-Armour-1.4 --> Working on Digest::MD2 Fetching +gz ... OK Configuring Digest-MD2-2.03 ... OK Building and testing Digest-MD2-2.03 ... OK Successfully installed Digest-MD2-2.03 --> Working on Sort::Versions Fetching +tar.gz ... OK Configuring Sort-Versions-1.5 ... OK Building and testing Sort-Versions-1.5 ... OK Successfully installed Sort-Versions-1.5 --> Working on Crypt::Primes Fetching +ar.gz ... OK Configuring Crypt-Primes-0.50 ... OK ==> Found dependencies: Math::Pari, Crypt::Random ! Installing the dependencies failed: Module 'Math::Pari' is not insta +lled, Module 'Crypt::Random' is not installed ! Bailing out the installation for Crypt-Primes-0.50. ! Installing the dependencies failed: Module 'Crypt::Random' is not in +stalled, Module 'Math::Pari' is not installed, Module 'Crypt::Primes' + is not installed ! Bailing out the installation for Crypt-RSA-1.97. --> Working on Crypt::IDEA Fetching +r.gz ... OK Configuring Crypt-IDEA-1.10 ... OK Building and testing Crypt-IDEA-1.10 ... OK Successfully installed Crypt-IDEA-1.10 --> Working on Digest::HMAC_SHA1 Fetching +.gz ... OK Configuring Digest-HMAC-1.03 ... OK Building and testing Digest-HMAC-1.03 ... OK Successfully installed Digest-HMAC-1.03 --> Working on Digest::BubbleBabble Fetching +e-0.02.tar.gz ... OK Configuring Digest-BubbleBabble-0.02 ... OK Building and testing Digest-BubbleBabble-0.02 ... OK Successfully installed Digest-BubbleBabble-0.02 --> Working on Crypt::DH Fetching +r.gz ... OK Configuring Crypt-DH-0.07 ... OK ==> Found dependencies: Math::BigInt::Pari --> Working on Math::BigInt::Pari Fetching +-1.17.tar.gz ... OK Configuring Math-BigInt-Pari-1.17 ... OK ==> Found dependencies: Math::Pari ! Installing the dependencies failed: Module 'Math::Pari' is not insta +lled ! Bailing out the installation for Math-BigInt-Pari-1.17. ! Installing the dependencies failed: Module 'Math::BigInt::Pari' is n +ot installed ! Bailing out the installation for Crypt-DH-0.07. --> Working on Math::GMP Fetching +r.gz ... OK Configuring Math-GMP-2.06 ... OK Building and testing Math-GMP-2.06 ... FAIL ! Installing Math::GMP failed. See /home/bbnladmin/.cpanm/work/1379567 +866.1970/build.log for details. Retry with --force to force install i +t. ! Installing the dependencies failed: Module 'Crypt::RSA' is not insta +lled, Module 'Math::Pari' is not installed, Module 'Crypt::DH' is not + installed, Module 'Math::GMP' is not installed ! Bailing out the installation for Net-SSH-Perl-1.36. 18 distributions installed)
        What I suspected earlier was correct - the module did not get installed because the dependencies already failed. Share the file /home/bbnladmin/.cpanm/work/1379567866.1970/build.log for details.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054654]
[LanX]: keep your sexlife private, please!
[LanX]: ;-p
shmem spent 3 hours chasing a bug related to variable scoping
[shmem]: is there an equivalent to my in python? or 'use strict' ?
[LanX]: I doubt
[LanX]: only nonlocal in Py3
[shmem]: so, python sucks
LanX NSFW!!!

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-03-20 17:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (256 votes). Check out past polls.