in reply to Math::Pari installation fails due to not enough memory for Pari.so loading

If you can, use Net::OpenSSH or Net::SSH2 instead of the old and unmaintained Net::SSH::Perl.

Lately, I have been working on Net::OpenSSH::Compat::Perl, an adapter module for Net::OpenSSH providing the most commonly used parts of Net::SSH::Perl API.

  • Comment on Re: Math::Pari installation fails due to not enough memory for Pari.so loading

Replies are listed 'Best First'.
Re^2: Math::Pari installation fails due to not enough memory for Pari.so loading
by Only1KW (Sexton) on Sep 01, 2011 at 14:55 UTC
    I've tried both of those already and seem not to be able to use either of them. See 923531 regarding OpenSSH. SSH2 compilation fails because it can't find include files libssh2.h, libssh2_sftp.h, and libssh2_publickey.h, even though I explicitly passed in to Makefile.PL $HOMEDIR/lib as the lib directory and $HOMEDIR/include as the inc directory, and have verified that all those .h's do in fact exist in $HOMEDIR/include:
    $HOMEDIR/bin/pperl "-Iinc" $HOMEDIR/lib/5.14.1/ExtUtils/xsubpp -typem +ap $HOMEDIR/lib/5.14.1/ExtUtils/typemap -typemap typemap SSH2.xs > S +SH2.xsc && mv SSH2.xsc SSH2.c cc_r -q64 -c $HOMEDIR/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX +_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_ +INIT -I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64 -O -DVERSION=\ +"0.39\" -DXS_VERSION=\"0.39\" "-I$HOMEDIR/lib/5.14.1/aix-thread-mult +i-64all/CORE" SSH2.c "SSH2.xs", line 16.10: 1506-296 (S) #include file <libssh2.h> not foun +d. "SSH2.xs", line 17.10: 1506-296 (S) #include file <libssh2_sftp.h> not + found. "SSH2.xs", line 18.10: 1506-296 (S) #include file <libssh2_publickey.h +> not found. ...