in reply to Compiling MATH::Pari on Solaris 10

1) Download and unpack Math::Pari from CPAN.

2) cd to the subdirectory pari-2.1.7

3) run ./Configure -s && make all && make install

4) Now back to the main directory for Math::Pari.

5) Run: perl Makefile.PL Configure machine=none

Replies are listed 'Best First'.
Re^2: Compiling MATH::Pari on Solaris 10
by barrem01 (Initiate) on Sep 17, 2007 at 20:03 UTC
    Thank you for your reply. I was not able to follow your directions exactly:
    # wget http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math- +Pari-2.010709.tar.gz # gunzip Math-Pari-2.010709.tar.gz # tar -xf Math-Pari-2.010709.tar # cd Math-Pari-2.010709 # cd pari-2.1.7 bash: cd: pari-2.1.7: No such file or directory
    I searched for the pari application on goggle found it, but it was up to version 2.3.2 In the archives I found version 2.1.7 and downloaded it.
    # wget http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-2.1.7.tgz # gunzip pari-2.1.7.tgz # tar -xf pari-2.1.7.tar # ./Configure -s
    # make all cd Osolaris-sparcv9; make all make[1]: Entering directory `/opt/rhome/barrem01/Math-Pari-2.010709/pa +ri-2.1.7/Osolaris-sparcv9' /usr/ccs/bin/as -P -I. -D__GNUC__ -T -o kernel.o ../src/kernel/sparcv8 +/level0_sparcv8_micro.S cat ../src/kernel/sparcv8/level0.h ../src/kernel/none/level1.h > parii +nl.h /opt/local/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-fram +e-pointer -I. -I../src/headers -o mp.o ../src/kernel/none/mp.c ../src/kernel/none/mp.c: In function `addrr': ../src/kernel/none/mp.c:598: error: asm-specifier for variable `overfl +ow' conflicts with asm clobber list ../src/kernel/none/mp.c:634: confused by earlier errors, bailing out make[1]: *** [mp.o] Error 1 make[1]: Leaving directory `/opt/rhome/barrem01/Math-Pari-2.010709/par +i-2.1.7/Osolaris-sparcv9' make: *** [all] Error 2
    Stuck at step 3 in these instructions, whereas I got a compiled and running pari application when I used Configure -ask
    Have you got any other suggestions?

    - Mike