Subject: | Pari.xs problem |
Date: | Wed, 23 Apr 2008 10:43:07 +0100 |
To: | bug-Math-Pari [...] rt.cpan.org |
From: | "Seán Lane" <seanlane20 [...] gmail.com> |
Hi,
I am trying to install Math::Pari but I am coming across the following
problem when I run "make". This is the error that appears:
.
.
gcc -c -I ../../pari-2.1.7/src -I../../pari-2.1.7/src/headers
-I../../pari-2.1.7/src/graph -I. -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS
-DGCC_INLINE -DDYNAMIC_PLOTTING -o compat.o
../../pari-2.1.7/src/language/compat.c
gcc -c -I ../../pari-2.1.7/src -I../../pari-2.1.7/src/headers
-I../../pari-2.1.7/src/graph -I. -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS
-DGCC_INLINE -DDYNAMIC_PLOTTING -o base3.o
../../pari-2.1.7/src/basemath/base3.c
gcc -c -I ../../pari-2.1.7/src -I../../pari-2.1.7/src/headers
-I../../pari-2.1.7/src/graph -I. -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS
-DGCC_INLINE -DDYNAMIC_PLOTTING -o mp.o
../../pari-2.1.7/src/kernel/none/mp.c
gcc -c -I ../../pari-2.1.7/src -I../../pari-2.1.7/src/headers
-I../../pari-2.1.7/src/graph -I. -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS
-DGCC_INLINE -DDYNAMIC_PLOTTING -o mpinl.o
../../pari-2.1.7/src/kernel/none/level1.c
as -P -T -I. -D__GNUC__ -Derr=pari_err -DSOLARIS -DGCC_INLINE
-DDYNAMIC_PLOTTING -o kernel.o
../../pari-2.1.7/src/kernel/sparcv8/level0_sparcv8_micro.S
rm -f libPARI.a
ar cr libPARI.a es.o base5.o bibli1.o buch2.o init.o gen1.o galconj.o
trans3.o buch4.o sumiter.o polarit2.o gen3.o alglin2.o stark.o
errmsg.o arith1.o helpmsg.o buch1.o nffactor.o galois.o plotgnuplot.o
subfield.o gen2.o highlvl.o arith2.o polarit1.o subgroup.o alglin1.o
base2.o polarit3.o ifactor1.o base1.o bibli2.o plotport.o trans2.o
trans1.o kummer.o buch3.o elliptic.o mpqs.o thue.o base4.o rootpol.o
anal.o compat.o base3.o mp.o mpinl.o kernel.o
: libPARI.a
make[1]: Leaving directory
`/home/advserv/Perl-Modules/Math-Pari-2.010709/libPARI'
make[1]: Entering directory
`/home/advserv/Perl-Modules/Math-Pari-2.010709/libPARI'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/advserv/Perl-Modules/Math-Pari-2.010709/libPARI'
/usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap
Pari.xs > Pari.xsc && mv Pari.xsc Pari.c
gcc -c -I ../pari-2.1.7/src -I../pari-2.1.7/src/headers
-I../pari-2.1.7/src -I./libPARI -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.010709\" -DXS_VERSION=\"2.010709\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/sun4-solaris/CORE"
-DPARI_VERSION_EXP=2001007 -DDEBUG_PARI -DLSB_in_U32=3 -Derr=pari_err
-DGCC_INLINE Pari.c
Pari.xs: In function `installPerlFunctionCV':
Pari.xs:1153: error: structure has no member named `xof_off'
Pari.xs: In function `callPerlFunction':
Pari.xs:1219: error: structure has no member named `xof_off'
make: *** [Pari.o] Error 1
See below the releant information on what I am installing, os, perl
version, etc.
- Math-Pari-2.010709
- # perl -v
This is perl, v5.10.0 built for sun4-solaris
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
- # uname -a
SunOS advlogs 5.9 Generic_118558-06 sun4u sparc SUNW,Ultra-4
I have tried as much as I can think of, but I am not that profficient
with perl. Can anyone help? I need this installed as a prerequisite
for installing other perl libraries.
Thanks in advance for any help provideed.