Hello,

I am trying to install GINAC on Mac OS. 


ginsh did not install because it could not find readline. I have already installed readline using Homebrew, and homebrew gave me the message appended below. So I used this configure option:


./configure LDFLAGS="-L/usr/local/opt/readline/lib" CPPFLAGS="-I/usr/local/opt/readline/include" PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig" 


Unfortunately, ginsh still does not compile and I get this information from configure:


***** BEGIN MESSAGE FROM CONFIGURE*****

== ginsh will not compile, because libreadline could not be found.

*****END MESSAGE FROM CONFIGURE*****


Could you please help me with the configure options to get ginsh to compile? I’ve attached the config.log as well.


Thank you!


Sincerely,

Francesca


*****BEGIN MESSAGE FROM HOMEBREW ****

For compilers to find readline you may need to set:

  export LDFLAGS="-L/usr/local/opt/readline/lib"

  export CPPFLAGS="-I/usr/local/opt/readline/include"


For pkg-config to find readline you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"


readline is keg-only, which means it was not symlinked into /usr/local,

because macOS provides BSD libedit.


For compilers to find readline you may need to set:

  export LDFLAGS="-L/usr/local/opt/readline/lib"

  export CPPFLAGS="-I/usr/local/opt/readline/include"


For pkg-config to find readline you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"

******END MESSAGE FROM HOMEBREW******