Last active
August 29, 2015 13:57
-
-
Save michiomochi/9786981 to your computer and use it in GitHub Desktop.
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
gitソースファイル | |
https://git-core.googlecode.com/files/git-1.9.0.tar.gz | |
gettextソースファイル | |
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz | |
================================ | |
手順 | |
================================ | |
-------------------------------- | |
下準備 | |
-------------------------------- | |
mkdir -p ~/local/src | |
export PERL5LIB=/home/vagrant/local/lib/perl5/site_perl/5.18.0 | |
-------------------------------- | |
ExtUtils::MakeMakerインストール | |
-------------------------------- | |
cpan | |
cpan> o conf makepl_arg "PREFIX=$ENV{HOME}/local" | |
cpan> install ExtUtils::MakeMaker | |
-------------------------------- | |
ExtUtils::Installインストール | |
-------------------------------- | |
cpan | |
cpan> o conf makepl_arg "PREFIX=$ENV{HOME}/local" | |
cpan> install ExtUtils::Install | |
-------------------------------- | |
gettextインストール | |
-------------------------------- | |
cd ~/local/src | |
wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz | |
tar xvf gettext-0.18.3.1.tar.gz | |
cd gettext-0.18.3.1 | |
./configure --prefix=${HOME}/local | |
make -j8 | |
make install | |
-------------------------------- | |
gitインストール | |
-------------------------------- | |
cd ~/local/src | |
wget https://git-core.googlecode.com/files/git-1.9.0.tar.gz | |
tar xvf git-1.9.0.tar.gz | |
cd git-1.9.0 | |
./configure --prefix=${HOME}/local | |
make | |
make install | |
env LDFLAGS=-L/home/ts-michikawa01/local/lib CPPFLAGS=-I/home/ts-michikawa01/local/include ./configure --prefix=/home/ts-michikawa01/local | |
make -j 2 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment