Have issues trying to compile Math::Pari on AIX......Please help!

B

btna

Hello all,

I am a newbie at installing these Perl modules and I am having trouble
getting to install the Math::pari which is a pre-requisite for
Net::SSH. THis is what I have done so far:

- Downloaded pari-2.1.6 and compiled it. I think it was ok since I did
not get anyy errors: I did : ./Configure, make gp, make install and I
got the following in /usr/local/lib/libpari.a

-Next, I tried the Math::pari and I get "Undefined Sysmbols" and the
end: (NOTE that I am leaving out som eof the "cc" lines to make the
post shorter)

$ >perl Makefile.PL
Setting up Math::pari with Perl 5.006 on aix version 5.0.0.0;
cc=cc, gccversion=, ccflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -
qmaxmem=16384 -q32 -D_LARGE_FILES -qlonglong',
ld=ld, ldflags='-b32', optimize='-O'.
Found GP/PARI build directory in ./pari-2.1.6
(integer-formatted version 2001006).
....Generating libPARI/paricfg.h ...
Scanning header files...
....ulong
....getrusage
....CLK_TCK not defined
Creating libPARI/paricfg.h...
....Processor of family `aix' detected
Problems with numeric interface codes noted:
May be harmless: non-unique string interfaces for numeric interfaces:
29 meaning "GGp GG GGD0,L,p"
(appears for agm, besseljh, bnrconductorofchar, ellheightmatrix,
ellordina
te, ellpointtoz, ellztopoint, idealprimedec, ideleprincipal, incgamc,
qfbprimefo
rm, rnfconductor, rnfinit, rnfpolred, theta)
Possible problems with Math::pari interface to GP/PARI:
unexpected value of string interfaces for numeric interfaces:
29 meaning "GGp GG GGD0,L,p" (was meaning "GGp" in 2.1.3)
(may affect functions idealprimedec, rnfconductor)
Checking if your kit is complete...
Looks good
....Processor of family `aix' detected
#### Do not know how to build for assembler `aix'. ####
#### Reversing to assembler-less type `port'. ####
#### ####
#### If you think your processor's assembler is supported ####
#### by PARI, edit libPARI/Makefile.PL and report. ####
#### ####
#### Alternatively, specify machine=YOURTYPE on the ####
#### perl Makefile.PL line ####
#### Recognized types: ####
#### alpha hppa m86k none sparcv7 sparcv8 sparcv8_micro ####
#### sparcv8_super ix86 ####
....I will use portable assembler-less build
Writing Makefile for Math::pARI::libPARI
Writing Makefile for Math::pari
$ >make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Math
cp libPARI.pod blib/lib/Math/libPARI.pod
cp PariInit.pm blib/lib/Math/PariInit.pm
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
cd libPARI && make LIB="" LIBPERL_A="libperl.a"
LINKTYPE="dynamic" PREFI
X="/usr/opt/perl5" OPTIMIZE="-O"
/usr/bin/perl -pe1 .././pari-2.1.6/src/kernel/none/level0.h
..././pari-2.
1.6/src/kernel/none/level1.h > pariinl.h
cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o alglin2.o .././pari-2.1.6/src/basemath/alglin2.c
cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o gen1.o .././pari-2.1.6/src/basemath/gen1.c
cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o thue.o .././pari-2.1.6/src/modules/thue
......
...... MORE CC LINES
......

cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph -I.
-D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o mpinl.o .././pari-2.1.6/src/kernel/none/level1.c
rm -f libPARI.a
ar cr libPARI.a alglin2.o gen1.o thue.o galois.o highlvl.o
subgroup.o g
en2.o gen3.o mpqs.o galconj.o trans1.o trans2.o compat.o trans3.o
base1.o ifacto
r1.o base2.o base3.o plotport.o base4.o base5.o buch1.o buch2.o buch3.o
bibli1.o
buch4.o bibli2.o helpmsg.o init.o es.o rootpol.o anal.o errmsg.o
polarit1.o pol
arit2.o polarit3.o stark.o arith1.o arith2.o nffactor.o kummer.o
sumiter.o plotg
nuplot.o elliptic.o subfield.o alglin1.o kernel.o mp.o mpinl.o
: libPARI.a
Target "makemakerdflt" is up to date.
/usr/bin/perl "-I/usr/opt/perl5/lib/5.6.0/aix"
"-I/usr/opt/perl5/lib/5.6
..0" -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Math::pari",
"DL_FUNCS"
=> { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl -I/usr/opt/perl5/lib/5.6.0/aix
-I/usr/opt/perl5/lib/5.6.0
/usr/opt/perl5/lib/5.6.0/ExtUtils/xsubpp -typemap
/usr/opt/perl5/lib/5.6.0/ExtU
tils/typemap -typemap typemap Pari.xs > Pari.xsc && mv Pari.xsc Pari.c
cc -c -I./pari-2.1.6/src/headers -I./pari-2.1.6/src -I./libPARI
-D_ALL_S
OURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -qlong
long -O -DVERSION=\"2.010603\" -DXS_VERSION=\"2.010603\"
-I/usr/opt/perl5
/lib/5.6.0/aix/CORE -DPARI_VERSION_EXP=2001006 -DDEBUG_PARI
-DLSB_in_U32=3 -Derr
=pari_err Pari.c
"Pari.xs", line 911.5: 1506-010 (W) Macro setSVpari_or_do invoked with
a null ar
gument for parameter action.
"Pari.xs", line 911.5: 1506-010 (W) Macro morphSVpari invoked with a
null argume
nt for parameter action.
"Pari.xs", line 952.3: 1506-010 (W) Macro setSVpari_or_do invoked with
a null ar
gument for parameter action.
"Pari.xs", line 952.3: 1506-010 (W) Macro morphSVpari invoked with a
null argume
nt for parameter action.
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Math
mkdir blib/arch/auto/Math/Pari
Running Mkbootstrap for Math::pari ()
chmod 644 Pari.bs
LD_RUN_PATH="/lib" ld -o blib/arch/auto/Math/Pari/Pari.so
-bhalt:4 -bM:
SRE -bI:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp -bE:pari.exp -b
noentry -lC -
lc Pari.o libPARI/libPARI.a -L/usr/local/lib -lm
ld: 0711-317 ERROR: Undefined symbol: .PERL_UNUSED_VAR
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.


Stop.
$>

Does anyone know what I may be missing? is it a library?

Thanks in advance,

BTNA
 
N

noeldamonmiller

BTNA,



Did you try cpan? It will help you get any pre-requisites.

type as root

perl -MCPAN -e shell


hope that helps,

Bigoldrock
 
B

btna

Thanks. I tried that too and the same error messages come up. I am not
sure what library I am missing if any.

BTNA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top