CC: | <pinguin [...] online.ms> |
Subject: | Problems compiling Math::Pari with Pari-2.5.0 |
Date: | Thu, 15 Sep 2011 17:29:09 +0200 |
To: | <bug-Math-Pari [...] rt.cpan.org> |
From: | pinguin <pinguin [...] online.ms> |
Hello Ilyaz,
i'm running perl 5.8.8 and trying to install Math::Pari
Version 2.01080605 (latest one) together with Pari 2.5.0. All went well so
far to install all the dependencies but unfortunatelly i don't get it done
to install Math::Pari as well. So here is where i'm right now:
================================================================
[root@myserver Math-Pari-2.01080605]# perl Makefile.PL
Filtered out
versions too new...
Setting up Math::Pari with Perl 5.008008 on linux
version 2.6.18-53.el5;
cc=gcc, gccversion=4.1.2 20080704 (Red Hat
4.1.2-50), cccdlflags='-fPIC',
ccflags='-D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic',
ld=gcc, ldflags=''.
Found GP/PARI build directory in
../../../pari-2.5.0
(integer-formatted version 2005000).
...Generating
libPARI/paricfg.h ...
Scanning header
files...
...ulong
...getrusage
...CLK_TCK not defined
Creating
libPARI/paricfg.h...
...Processor of family `x86_64' detected
Checking if
your kit is complete...
Looks good
...Processor of family `x86_64'
detected
...I will use assembler build of type 'x86_64'.
...Assembler is
GNU assembler
Writing Makefile for Math::PARI::libPARI
Writing MYMETA.yml
and MYMETA.json
Writing Makefile for Math::Pari
Writing MYMETA.yml and
MYMETA.json
[root@myserver Math-Pari-2.01080605]# 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 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic" PREFIX="/usr"
PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory
`/opt/cpan/build/Math-Pari-2.01080605/libPARI'
/usr/bin/perl -wle "print
q(#ifndef ASMINLINE)" > pariinl.h
/usr/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/bin/perl
-wle "print q(#endif)" >> pariinl.h
/usr/bin/perl -pe1
../../../../pari-2.5.0/src/kernel/x86_64/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
gcc -c -I
../../../../pari-2.5.0/src -I ../../../../pari-2.5.0/src/headers -I
../../../../pari-2.5.0/src/graph -I . -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-DVERSION="" -DXS_VERSION="" -fPIC -Derr=pari_err -DASMINLINE -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
directory
../../../../pari-2.5.0/src/modules/ellsea.c: In function â
../../../../pari-2.5.0/src/modules/ellsea.c:836: warning: implicit
declaration of function â
../../../../pari-2.5.0/src/modules/ellsea.c:836:
warning: implicit declaration of function â
../../../../pari-2.5.0/src/modules/ellsea.c:836: error: invalid type
argument of â
../../../../pari-2.5.0/src/modules/ellsea.c: In function â
../../../../pari-2.5.0/src/modules/ellsea.c:1339: error: invalid type
argument of â
make[1]: *** [ellsea.o] Error 1
make[1]: Leaving directory
`/opt/cpan/build/Math-Pari-2.01080605/libPARI'
make: ***
[libPARI/libPARI.a] Error 2
================================================================
I did
the checks suggested in README and INSTALL document but unfortunatelly
nothing worked.
My OS is Red Hat EL 5.6 with latest patches installed.
Thanks for any information how i can get it done.
Best regards