Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can´t install Math::PAri library in perl 5.14.2. The System Operating is RedHat 5.3.
I do:
perl Makefile.PL
and I get the follow:
[root@USSD5 Math-Pari-2.010709]# perl Makefile.PL Configure
Filtered out versions too new...
Setting up Math::Pari with Perl 5.014002 on linux version 2.6.18-128.el5pae;
cc=cc, gccversion=4.1.2 20080704 (Red Hat 4.1.2-44), ccflags='-fno-strict-ali asing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64',
ld=cc, ldflags=' -fstack-protector -L/usr/local/lib', optimize='-O2'.
Found GP/PARI build directory in ../pari-2.5.0
(integer-formatted version 2005000).
Found ../pari-2.5.0/Olinux-i686/paricfg.h, copying it to libPARI...
Checking if your kit is complete...
Looks good
...Processor of family `ix86' detected
...I will use assembler build of type 'ix86'.
...Assembler is GNU assembler
Writing Makefile for Math::PARI::libPARI
Writing MYMETA.yml
Writing Makefile for Math::Pari
Writing MYMETA.yml
but when i do "make" i get the follow error:
[root@USSD5 Math-Pari-2.010709]# make
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cp PariInit.pm blib/lib/Math/PariInit.pm
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.pod blib/lib/Math/libPARI.pod
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2" PREFI X="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory `/home/pasantedn/Math-Pari-2.010709/libPARI'
/usr/local/bin/perl -wle "print q(#ifndef ASMINLINE)" > pariinl.h
/usr/local/bin/perl -pe1 ../../pari-2.5.0/src/kernel/none/addll.h ../../pari-2.5 .0/src/kernel/none/mulll.h ../../pari-2.5.0/src/kernel/none/bfffo.h ../../pari-2 .5.0/src/kernel/none/divll.h >> pariinl.h
/usr/local/bin/perl -wle "print q(#endif)" >> pariinl.h
/usr/local/bin/perl -pe1 ../../pari-2.5.0/src/kernel/ix86/asm0.h ../../pari-2.5. 0/src/kernel/none/tune.h ../../pari-2.5.0/src/kernel/none/int.h ../../pari-2.5.0 /src/kernel/none/level1.h >> pariinl.h
cc -c -I ../../pari-2.5.0/src -I../../pari-2.5.0/src/headers -I../../pari-2.5.0 /src/graph -I. -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"\" -DXS_VERSION=\" \" -fPIC -Derr=pari_err -DGCC_INLINE -DDYNAMIC_PLOTTING -o ellsea.o ../../pari-2 .5.0/src/modules/ellsea.c
In file included from ../../pari-2.5.0/src/modules/ellsea.c:33:
../../pari-2.5.0/src/headers/pari.h:59:21: error: mpinl.h: No such file or direc tory
../../pari-2.5.0/src/modules/ellsea.c: In function âfind_traceâ:
../../pari-2.5.0/src/modules/ellsea.c:836: error: invalid type argument of âunar y *â
../../pari-2.5.0/src/modules/ellsea.c: In function âellseaâ:
../../pari-2.5.0/src/modules/ellsea.c:1339: error: invalid type argument of âuna ry *â
make[1]: *** [ellsea.o] Error 1
make[1]: Leaving directory `/home/pasantedn/Math-Pari-2.010709/libPARI'
make: *** [libPARI/libPARI.a] Error 2
I can't to solve this error....Someone can help me..
I can´t install Math::PAri library in perl 5.14.2. The System Operating is RedHat 5.3.
I do:
perl Makefile.PL
and I get the follow:
[root@USSD5 Math-Pari-2.010709]# perl Makefile.PL Configure
I can't to solve this error....Someone can help me..
First, you do realize that version of Math::Pari you're installing is from 2006, right?? SIX YEARS OLD?. Get the latest version if you're going to install it, which is Math-Pari-2.01080605, and you can easily find it on CPAN: http://search.cpan.org/~ilyaz/Math-Pari-2.01080605/
If you did, and you ran "perl Makefile.PL", you'd see that it now automatically fetches that piece of missing code, and compiles/runs just fine. anomie posted a good solution as well...and, since you're using RHEL 5, have you called RedHat? You're paying for support with your subscription...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.