Bill Allombert on Sat, 12 Jan 2013 19:49:30 +0100


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

Re: Fix readline for PARI?


On Sat, Jan 12, 2013 at 11:27:07AM -0700, Elim Qiu wrote:
> I installed PARI on my mac snow leopard. But with no readline support:
> 
>  GP/PARI CALCULATOR Version 2.5.3 (released)
>           i386 running darwin (x86-64/GMP-5.1.0 kernel) 64-bit version
>             compiled: Jan 12 2013, gcc-4.2.1 (Apple Inc. build 5646)
>                (readline not compiled in, extended help enabled)
> 
> I checked the output of configure script, it says
> 
> Hi-Res Graphics: X11
> ...Found libreadline in /usr/lib/
> ...Found readline header in /usr/include//readline
> ...Found history header in /usr/include//readline
> ...Found libncurses in /usr/lib/
> ...Library ncurses needed by readline
> ###
> ### Editline wrapper detected, building without readline support
> ###
> ### Building without GNU readline support
> 
> 
> What should I do to compile readline into PARI?

Read the FAQ:
<http://pari.math.u-bordeaux.fr/faq.html#mac10readline>
Basically Apple has found entertaining to include a library libreadline that is
not libreadline.

Cheers,
Bill.