Created
October 9, 2013 18:32
-
-
Save wilf312/6905913 to your computer and use it in GitHub Desktop.
さくらVPSにGit 1.8.4入れた時のメモ ref: http://qiita.com/wilf312/items/0e0ed63d0846843f7204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum erase perl-Git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://www.kernel.org/pub/software/scm/git/git-1.8.4.tar.bz2 | |
tar -jxf git-1.8.4.tar.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd git-1.8.4 | |
./configure --prefix=~/local/git-1.8.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make | |
### 下記エラーの部分 | |
SUBDIR git-gui | |
GITGUI_VERSION = 0.14.0 | |
* new locations or Tcl/Tk interpreter | |
GEN git-gui | |
INDEX lib/ | |
* tclsh failed; using unoptimized loading | |
MSGFMT po/de.msg make[1]: *** [po/de.msg] Error 127 | |
make: *** [all] Error 2 | |
### /FINISH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install perl-ExtUtils-MakeMaker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make | |
### コンパイル通った! | |
sudo make install | |
### インストールできた! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim /etc/profile | |
### 終端行に下記追加 | |
export $PATH=/usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment