Em 19 de novembro de 2016, Allin escreveu: 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 >
After <command> ./configure --prefix=/Users/henrique/Desktop/gretl-dev --without-readline </command> And <command> make </command> I get <output> make -C share make[1]: Nothing to be done for `all'. make -C xdg make[1]: Nothing to be done for `all'. </output> Please note that I'm not using "--with-gmp-prefix=/usr/local/Cellar/gmp/6.1.1" and "--with-mpfr-prefix=/usr/local/Cellar/mpfr/3.1.5" flags anymore. macOS and configure are not complaining now (I don't know why). Can I proceed to make install? > Thanks for persevering with an independent build on OS X! Who needs to thank you it's me for your patience and kindness help ;-) One simple question arises on my mind just now: What I expect to achieve after building? I know that isn't a Gretl.app. But it will generate a GUI or CLI version os Gretl? Um abraço, Henrique Andrade
Em 19 de novembro de 2016, Allin escreveu:
On Fri, 18 Nov 2016, Henrique Andrade wrote:
2016-11-18 1:49 GMT-02:00 Allin Cottrell <[email protected]>:
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
After
<command>
./configure --prefix=/Users/henrique/Desktop/gretl-dev --without-readline
</command>
And
<command>
make
</command>
I get
<output>
make -C share
make[1]: Nothing to be done for `all'.
make -C xdg
make[1]: Nothing to be done for `all'.
</output>
Please note that I'm not using "--with-gmp-prefix=/usr/local/Cellar/gmp/6.1.1" and "--with-mpfr-prefix=/usr/local/Cellar/mpfr/3.1.5" flags anymore. macOS and configure are not complaining now (I don't know why). Can I proceed to make install?
Â
Thanks for persevering with an independent build on OS X!
Who needs to thank you it's me for your patience and kindness help ;-)
One simple question arises on my mind just now: What I expect to achieve after building? I know that isn't a Gretl.app. But it will generate a GUI or CLI version os Gretl?
Um abraço,
Henrique Andrade
