2016-11-18 1:49 GMT-02:00 Allin Cottrell <cottrell@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

Best, 
Henrique Andrade