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

Hello,

well I tool a look at it, but I'm not able to use this information:

— I have no GP/PARI directory on my system
— I have no kernel*.o files in my libPARI directory

I think there is something I don't understand at all.

I'll try Net::SSH. Thank you for your answer!
  • Comment on Re^2: using Net::SSH::Perl: problem with Math::Pari

Replies are listed 'Best First'.
Re^3: using Net::SSH::Perl: problem with Math::Pari
by tachyon-II (Chaplain) on May 08, 2008 at 10:43 UTC

    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.

      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.