This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id:
70990
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
pinguin [...] online.ms
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



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

CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #70990] Problems compiling Math::Pari with Pari-2.5.0
Date: Thu, 15 Sep 2011 16:07:02 -0700
To: pinguin via RT <bug-Math-Pari@rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
On Thu, Sep 15, 2011 at 11:29:26AM -0400, pinguin via RT wrote:
Show quoted text
> Thanks for any information how i can get it done.
Versions 2.5.* are not supported. Hope this helps, Ilya
Subject: Re: [rt.cpan.org #70990] Problems compiling Math::Pari with Pari-2.5.0
Date: Fri, 16 Sep 2011 14:08:57 +0200
To: <bug-Math-Pari@rt.cpan.org>
From: pinguin <pinguin@online.ms>
Hello Ilya, actually that was the information i was missing. Now it is working. But i have seen some messages from script which is creating the makefile as i used version 2.3 it has some bugs. As i used afterwards 2.1.7 i was asked to use 2.3 as this one has also some bugs which was solved by the newer version. At least i hope it will work in anycase as i just need it for secure network communication. Thanks and best regards Holger On Thu, 15 Sep 2011 19:07:14 -0400, "Ilya Zakharevich via RT" <bug-Math-Pari@rt.cpan.org> wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70990 > > > On Thu, Sep 15, 2011 at 11:29:26AM -0400, pinguin via RT wrote:
>> Thanks for any information how i can get it done.
> > Versions 2.5.* are not supported. > > Hope this helps, > Ilya


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.