Net::SSH::Perl

Support
classylady
2007-09-16
2013-04-15
  • classylady

    classylady - 2007-09-16

    I have always gotten errors about the Net::SSH::Perl cpan module... I have loaded it from cpan command line twice.. Once regular and once forced... I have loaded it from ports and from a download... I know I have read on here that others have had this problem but from their fixes none have worked for me... this is the error in the httpd-error.log:

    Can't locate object method "new" via package "Net::SSH::Perl" (perhaps you forgot to load "Net::SSH::Perl"?) at mods/signup.pl line 239.

    here is line 239 from signup.pl:

    my $ssh=Net::SSH::Perl->new($ip,protocol=>'2',port=>$sshport);

    What do I need to do for perl/cpan to recognize Net::SSH::Perl ?????

    this is the package which shows in /var/db/pkg: bsdpan-Net-SSH-Perl-1.30

    FreeBSD 6.2, apache+mod_ssl-1.3.37+2.8.28, mysql 5.0.27, perl 5.8.8 and version 2.05 GNUHH

    thanks to all

     
    • Carl L. Thompson Jr.

      Odds are the module didn't build correctly.  There are many depandancies and one that seems to get missed when trying to install it is gmp-devel packages.  This is a must have to build the other encryptions modules then the net-ssh module.  Here is a list of perl modules not found in all distros that are required for various functions, most of them apply to net-ssh:

      Start with:
      perl-Math-GMP-2.04-0
      perl-Math-Pari-2.010603-0

      Then build:
      perl-Data-Structure-Util-0.11-0
      perl-Class-Loader-2.02-0
      perl-Compress-Zlib-1.34-0
      perl-Convert-ASCII-Armour-1.4-0
      perl-Convert-ASN1-0.18-0
      perl-Convert-PEM-0.06-0
      perl-Crypt-Blowfish-2.09-0
      perl-Crypt-CBC-2.17-0
      perl-Crypt-DES-2.03-0
      perl-Crypt-DH-0.03-0
      perl-Crypt-DSA-0.12-0
      perl-Crypt-IDEA-1.02-0
      perl-Crypt-Primes-0.50-0
      perl-Crypt-Random-1.25-0
      perl-Crypt-Rijndael-0.05-0
      perl-Crypt-RSA-1.55-0
      perl-Crypt-SSLeay-0.51-0
      perl-Data-Buffer-0.04-0
      perl-Digest-MD2-2.03-0
      perl-HTML-Template-2.7-0
      perl-MD5-2.03
      perl-Net-SSH-Perl
      perl-Sort-Versions
      perl-String-CRC32
      perl-Tie-EncryptedHash
      perl-Unicode-String

      Redragon

       
    • the2ofusHER

      the2ofusHER - 2007-09-18

      perl-Math-GMP v 2.15
      perl-Data-Structure-Util v 0.12-0
      perl-Crypt-SSLeay v 0.57-0

      only those three I missed... now running Net-SSH-Perl with force to reinstall

      up to the third test t/03-packet it sits at ok - 1/10 for hours? any Idea why??

       
    • Carl L. Thompson Jr.

      I'm not sure, I built the rpms from source skipping the make test.  If using cpan use the notest option or whatever its called so that it wont run the tests and sit there for hours.

      Redragon

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks