On Fri, 18 Nov 2016, Henrique Andrade wrote:
2016-11-18 1:49 GMT-02:00 Allin Cottrell <cottrell(a)wfu.edu>:
> On Fri, 18 Nov 2016, Henrique Andrade wrote:
>
> Dear Gretl Community,
>>
>> I'm trying for the first time build Gretl on my MacOS. When I execute the
>> command ./configure I get an error:
>>
>> "Please install GMP and then reconfigure gretl.
>> GMP is available from
http://gmplib.org/"
>>
>> I already have GMP installed (using Brew). How can I fix this?
>
> You'll probably have to specify where your GMP installation is, using the
> configure flag --with-gmp-prefix=<wherever>.
Thanks Allin! But now there is another problem. After the command:
./configure --prefix=/Users/henrique/Desktop/gretl-dev
--with-gmp-prefix=/usr/local/Cellar/gmp/6.1.1
--with-mpfr-prefix=/usr/local/Cellar/mpfr/3.1.5
I get:
gretlcli.c:437:5: error: use of undeclared identifier 'rl_done'
rl_done = 1;
^
1 error generated.
make[1]: *** [gretlcli.o] Error 1
make: *** [cli] Error 2
I guess that either (a) if you have the GNU readline library
installed you need to flag where that is, via
--with-readline-prefix=<somewhere>
or (b) you may disable readline support in gretlcli by
--without-readline
Thanks for persevering with an independent build on OS X!
Allin