Subject: | Math::Pari Compile errors |
Date: | Tue, 2 Dec 2008 16:29:19 -0600 |
To: | "'bug-Math-Pari [...] rt.cpan.org'" <bug-Math-Pari [...] rt.cpan.org> |
From: | Michael Thompson <Michael.Thompson [...] Rentacenter.com> |
Hello I'm having an issue compiling the Math::Pari perl module on ... HP-UX B.11.11 U 9000/800 ... Perl version 5.8.8 /Pari 2.3.1/Math-Pari-2.010800
I was able to successfully compile pari 2.3.1 from source but get the below error when I try to compile the Math::Pari module
#perl Makefile.PL Configure
Set up gcc environment - 4.1.0
Filtered out versions too new...
Setting up Math::Pari with Perl 5.008008 on hpux version 11.00;
cc=gcc, gccversion=4.1.0, ccflags=' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe',
ld=gcc, ldflags=' -L/lib/pa20_64', optimize=''.
Found GP/PARI build directory in ../pari-2.3.1
(integer-formatted version 2003001).
### Math::Pari support of GP/PARI library version 2.3.* should be
### considered cursory only. One may need to downgrade to 2.1.7,
### or run Makefile.PL with option machine=none if the tests fail.
### The test t/55_intnum.t takes a very long time to complete.
### The following subtests are known to fail:
### t/55_intnum.t 51 2 3.92% 12 50
### t/55_ploth.t 34 1 2.94% 4
### t/55_program.t 37 1 2.70% 2
Found ../pari-2.3.1/Ohpux-hppa/paricfg.h, copying it to libPARI...
Checking if your kit is complete...
Looks good
...Processor of family `port' detected
...I will use portable assembler-less build
...Assembler is not GNU assembler
Writing Makefile for Math::PARI::libPARI
Writing Makefile for Math::Pari
# Make
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="" PREFIX="/opt/perl_64" PASTHRU_DEFINE="" PASTHRU_INC=""
gcc -c -I ../../pari-2.3.1/src -I../../pari-2.3.1/src/headers -I../../pari-2.3.1/src/graph -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DGCC_INLINE -DDYNAMIC_PLOTTING -o highlvl.o ../../pari-2.3.1/src/gp/highlvl.c
../../pari-2.3.1/src/gp/highlvl.c: In function 'install0':
../../pari-2.3.1/src/gp/highlvl.c:34: error: 'DL_DFLT_NAME' undeclared (first use in this function)
../../pari-2.3.1/src/gp/highlvl.c:34: error: (Each undeclared identifier is reported only once
../../pari-2.3.1/src/gp/highlvl.c:34: error: for each function it appears in.)
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Any help you can provide would be greatly appreciated
Michael Thompson
Linux Administrator
Rent-A-Center