What is libintl.h and where can I get it?

前端 未结 12 1530
半阙折子戏
半阙折子戏 2021-02-02 05:52

Trying to do a make install of git from source, and it keep kicking up the error:

 make install
* new build flags or prefix
CC credential-store.o
In file include         


        
12条回答
  •  再見小時候
    2021-02-02 06:27

    The following worked for me:

    1. brew reinstall gettext
    2. brew unlink gettext && brew link gettext --force
    3. For compilers to find libpq you may need to set:
    export LDFLAGS="-L/usr/local/opt/libpq/lib"
    export CPPFLAGS="-I/usr/local/opt/libpq/include"
    

    For e.g, while installing Postgis on my system I used ./configure with the following flags

    ./configure CPPFLAGS="-I/usr/local/opt/libpq/include" LDFLAGS="-L/usr/local/opt/libpq/lib"
    

提交回复
热议问题