[GiNaC-list] Ginsh Compiler Issues on Mac OS
Francesca C Fernandes
fcf at stanford.edu
Fri Jun 28 09:22:10 CEST 2024
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******
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/ginac-list/attachments/20240628/39e7035e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 59730 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-list/attachments/20240628/39e7035e/attachment-0001.obj>
More information about the GiNaC-list
mailing list