Ewan Delanoy on Sun, 16 Sep 2012 10:14:02 +0200

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

Cannot install PARI-GP on Mac OS X 10.8

Iâve just bought a new MacBook Pro with Mac OS 10.8 on it. I could not install PARI-GP on it : The "make all" phase fails with the  output below (make clean and retry produces the same result .

Ewan Delanoy

MacBook-Pro-de-Ewan:pari-2.5.2 ewandelanoy$ make all
Making gp in Odarwin-i386
../config/genkernel ../src/kernel/x86_64/asm0.h > parilvl0.h
if test -r ./tune.h; then d=.; else d=../src/kernel/none; fi;          cat $d/tune.h ../src/kernel/none/int.h ../src/kernel/none/level1.h > parilvl1.h
cat parilvl0.h parilvl1.h > mpinl.h
/usr/bin/gcc  -c -I. -I../src/headers -I../src/language -I/usr/include -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o gp.o ../src/gp/gp.c
f=funclist-$$-darwin-i386.tmp; (cd ../src/desc && /usr/bin/perl merge_822 ../funclist > $f) && mv ../src/desc/$f ../src/desc/pari.desc
f=gp_init-$$-darwin-i386.tmp; (cd ../src/desc && /usr/bin/perl gen_proto gp pari.desc > $f) && mv ../src/desc/$f ../src/gp/gp_init.h
f=gp_default-$$-darwin-i386.tmp; (cd ../src/desc && /usr/bin/perl gen_proto gp_default pari.desc > $f) && mv ../src/desc/$f ../src/gp/gp_default.h
/usr/bin/gcc  -c -I. -I../src/headers -I../src/graph -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o gp_init.o ../src/gp/gp_init.c
/usr/bin/gcc  -c -I. -I../src/headers -I../src/language -I/usr/include -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer    -o gp_rl.o ../src/gp/gp_rl.c
../src/gp/gp_rl.c:64: error: conflicting types for ârl_messageâ
../src/gp/gp_rl.c:64: note: a parameter list with an ellipsis canât match an empty parameter name list declaration
/usr/local/include/readline/readline.h:381: error: previous declaration of ârl_messageâ was here
make[2]: *** [gp_rl.o] Error 1
make[1]: *** [gp] Error 2
make: *** [all] Error 2