in reply to Re^2: using Net::SSH::Perl: problem with Math::Pari
in thread using Net::SSH::Perl: problem with Math::Pari

The error seems to occur when different compilers have compiled the OS and Perl. Net::SSH ought to work without problems but if you need to install Net::SSH::Perl on approach would be to compile your own Perl from source, then install Math::Pari (it will pull down lib pari itself for you) and then Net::SSH::Perl.

  • Comment on Re^3: using Net::SSH::Perl: problem with Math::Pari

Replies are listed 'Best First'.
Re^4: using Net::SSH::Perl: problem with Math::Pari
by Anonymous Monk on May 08, 2008 at 11:41 UTC
    I compiled perl from source with macports, as well as pari and Math::Pari.

    But anyway, I use SSH2 and it works perfectly well. I just have to test the script on a centOS machine. If it works, then it's all I need.

    Thank you everybody for your help!

      I compiled Net::SSH and Net::SSH::Perl on CentOS with no issues. Make sure you do something like this to prepare the basic install with all the development headers, binaries etc.

      $ yum groupinstall "Development Tools" $ yum install kernel-devel

      Although yum install widget is very convenient, the headers typically live in widget-devel which can be an issue. Say you install mysql and then try to install DBD::MySql. This will choke until you yum install mysql-devel.

        Thank you, I will pay attention to this when configuring the centOS.