Hello guys,
I have a debian machine, which have missing Math-Pari package. I got the following error, when run my script:
Code:
# perl ssh-without-key.pl
Can't locate Math/Pari.pm 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 /usr/local/share/perl/5.10.1/Net/SSH/Perl/Util/SSH2MP.pm line 6, <GEN0> line 1.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Net/SSH/Perl/Util/SSH2MP.pm line 6, <GEN0> line 1.
Compilation failed in require at /usr/local/share/perl/5.10.1/Net/SSH/Perl/Util.pm line 56, <GEN0> line 1.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Net/SSH/Perl/Kex/DH1.pm line 10, <GEN0> line 1.
Compilation failed in require at /usr/local/share/perl/5.10.1/Net/SSH/Perl/Kex.pm line 6, <GEN0> line 1.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Net/SSH/Perl/Kex.pm line 6, <GEN0> line 1.
Compilation failed in require at /usr/local/share/perl/5.10.1/Net/SSH/Perl/SSH2.pm line 6, <GEN0> line 1.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Net/SSH/Perl/SSH2.pm line 6, <GEN0> line 1.
Compilation failed in require at /usr/local/share/perl/5.10.1/Net/SSH/Perl.pm line 52, <GEN0> line 1.
Unfortunately I have no access to port 80 on that machine so I am unable to install it automaticly from CPAN.
I was trying to compile it, but also have some issues:
Code:
========================= Installation results ===========================
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 -g" PREFIX="/usr" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory `/usr/src/cpan.perl/Math-Pari-2.010709/libPARI'
cc -c -I ../../../pari-2.5.3/src -I../../../pari-2.5.3/src/headers -I../../../pari-2.5.3/src/graph -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o ellsea.o ../../../pari-2.5.3/src/modules/ellsea.c
In file included from ../../../pari-2.5.3/src/modules/ellsea.c:33:
../../../pari-2.5.3/src/headers/pari.h:59:21: error: mpinl.h: No such file or directory
../../../pari-2.5.3/src/modules/ellsea.c: In function 'find_trace':
../../../pari-2.5.3/src/modules/ellsea.c:840: error: invalid type argument of 'unary *' (have 'int')
../../../pari-2.5.3/src/modules/ellsea.c: In function 'ellsea':
../../../pari-2.5.3/src/modules/ellsea.c:1343: error: invalid type argument of 'unary *' (have 'int')
make[1]: *** [ellsea.o] Error 1
make[1]: Leaving directory `/usr/src/cpan.perl/Math-Pari-2.010709/libPARI'
make: *** [libPARI/libPARI.a] Error 2
It will takes ages, to fix it manualy changing the paths and trying to fix, by changing the code..
Do you have any option how can I install it without sources, or in a more simple way?
Thanks,