Skip to content

Instantly share code, notes, and snippets.

@wilf312
Created October 9, 2013 18:32
Show Gist options
  • Save wilf312/6905913 to your computer and use it in GitHub Desktop.
Save wilf312/6905913 to your computer and use it in GitHub Desktop.
さくらVPSにGit 1.8.4入れた時のメモ ref: http://qiita.com/wilf312/items/0e0ed63d0846843f7204
yum erase perl-Git
wget https://www.kernel.org/pub/software/scm/git/git-1.8.4.tar.bz2
tar -jxf git-1.8.4.tar.bz2
cd git-1.8.4
./configure --prefix=~/local/git-1.8.4
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
sudo yum install perl-ExtUtils-MakeMaker
make
### コンパイル通った!
sudo make install
### インストールできた!
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