Bill Allombert on Sun, 16 Sep 2012 15:14:22 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Re : cannot install PARI-GP on Mac OS 10.8


On Sun, Sep 16, 2012 at 03:03:40PM +0200, Ewan Delanoy wrote:
> >Try ./Configure --with-readline=/usr/local
> 
>  Now I have GP working (it seems) with readline enabled ; however, I get the error message below during the execution of "make bench".
> 
>  Ewan
> 
>  MacBook-Pro-de-Ewan:pari-2.5.2 ewandelanoy$ make bench
>  Making bench in Odarwin-i386
>  rm -f gp-sta
>  /usr/bin/gcc -o gp-sta -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -Wl,-search_paths_first mp.o mpinl.o F2x.o FF.o Flx.o FpE.o FpV.o FpX.o Hensel.o QX_factor.o Qfb.o RgV.o RgX.o ZV.o ZX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bb_group.o bibli1.o bibli2.o bit.o buch1.o buch2.o buch3.o buch4.o concat.o ellanal.o elliptic.o galconj.o gen1.o gen2.o gen3.o hnf_snf.o ifactor1.o lll.o nffactor.o perm.o polarit1.o polarit2.o polarit3.o prime.o random.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o compile.o default.o errmsg.o es.o eval.o hash.o init.o intnum.o members.o paricfg.o pariinl.o parse.o sumiter.o DedekZeta.o aprcl.o elldata.o ellsea.o galois.o galpol.o groupid.o krasner.o kummer.o mpqs.o part.o stark.o subfield.o thue.o darwin.o gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotport.o plotnull.o -L/usr/local/lib -lreadline -L/usr/lib/ -lncurses 
>  * Testing objets for gp-sta..BUG [1] for gp-dyn..BUG [1]
>  * Testing analyz for gp-sta..TIME=17 for gp-dyn..TIME=13
>  * Testing number for gp-sta..BUG [35] for gp-dyn..BUG [33]
>  * Testing polyser for gp-sta..BUG [3] for gp-dyn..BUG [3]
>  * Testing linear for gp-sta..BUG [5] for gp-dyn..BUG [8]
>  * Testing elliptic for gp-sta..BUG [1] for gp-dyn..BUG [1]
>  * Testing sumiter for gp-sta..TIME=18 for gp-dyn..TIME=19
>  * Testing graph for gp-sta..TIME=4 for gp-dyn..TIME=7
>  * Testing program for gp-sta..TIME=8 for gp-dyn..TIME=8
>  * Testing trans for gp-sta..BUG [26] for gp-dyn..BUG [28]
>  * Testing nfields for gp-sta..../src/test/dotest: line 69: 9504 Done ( cat $file_in; echo 'print("Total time spent: ",gettime);' )
>  9505 Segmentation fault: 11 | $RUNTEST $gp -q --test > $file_test 2>&1
>  BUG [440] for gp-dyn..../src/test/dotest: line 69: 9518 Done ( cat $file_in; echo 'print("Total time spent: ",gettime);' )
>  9519 Segmentation fault: 11 | $RUNTEST $gp -q --test > $file_test 2>&1
>  BUG [427]
>  +++ [BUG] Total bench for gp-sta is 206
>  +++ [BUG] Total bench for gp-dyn is 206
> 
>  PROBLEMS WERE NOTED. The following files list them in diff format:
>  Directory: /Users/ewandelanoy/Documents/Math_Software/pari-2.5.2/Odarwin-i386
>  objets-sta.dif
>  number-sta.dif
>  polyser-sta.dif
>  linear-sta.dif
>  elliptic-sta.dif
>  trans-sta.dif
>  nfields-sta.dif
>  objets-dyn.dif
>  number-dyn.dif
>  polyser-dyn.dif
>  linear-dyn.dif
>  elliptic-dyn.dif
>  trans-dyn.dif
>  nfields-dyn.dif

Please send me these files. What compiler are you using ?
It would not be the first time the default compiler on OS X miscompiles PARI.

You can try to change -O3 to -O0 in Odarwin-i386/Makefile
and do 'make clean; make bench'

Cheers,
Bill.