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

前端 未结 12 1558
半阙折子戏
半阙折子戏 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:17

    In order to install the newest version of git on OSX Lion this is what I did:

    *Note that if you do not have git already installed you can just download it from the site and unpack it in to ~/src/git

    I also recommend doing a whereis git to see if you already have it installed so you know what to set your prefix to. Mine was /usr/bin/git so I set my prefix to just /usr

    mkdir ~/src
    git clone https://github.com/git/git.git
    cd git
    make configure
    ./configure --prefix=/usr
    make
    make install
    

    By doing it this way I did not have to download any extra libraries or do any hunting on forums for answers. Thanks to automake I know that git is setup for my system and will run without any hiccups.

提交回复
热议问题