[GiNaC-list] Ginsh Compiler Issues on Mac OS

Vladimir V. Kisil V.Kisil at leeds.ac.uk
Sat Jun 29 08:51:18 CEST 2024


>>>>> On Fri, 28 Jun 2024 00:22:10 -0700, Francesca C Fernandes <fcf at stanford.edu> said:

    FCF> I am trying to install GINAC on Mac OS.

    Did you try to install compiled GiNaC supplied by HomeBrew?
-- 
Vladimir V. Kisil                  http://v-v-kisil.scienceontheweb.net
  Book:      Geometry of Mobius Maps       https://doi.org/10.1142/p835
  Soft:      Geometry of cycles         http://moebinv.sourceforge.net/
  Jupyter notebooks:        https://github.com/vvkisil?tab=repositories



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


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


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


    FCF> ***** BEGIN MESSAGE FROM CONFIGURE*****

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

    FCF> *****END MESSAGE FROM CONFIGURE*****


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


    FCF> Thank you!


    FCF> Sincerely,

    FCF> Francesca


    FCF> *****BEGIN MESSAGE FROM HOMEBREW ****

    FCF> For compilers to find readline you may need to set:

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

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


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

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


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

    FCF> because macOS provides BSD libedit.


    FCF> For compilers to find readline you may need to set:

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

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


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

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

    FCF> ******END MESSAGE FROM HOMEBREW******


More information about the GiNaC-list mailing list