| 6 | * [http://blog.wktk.co.jp/archives/34 さくらの共用レンタルサーバ(FreeBSD)で開発環境を整える] |
| 7 | |
| 8 | * www1098:/home/mittyorz% which vim |
| 9 | {{{ |
| 10 | vim: Command not found. |
| 11 | }}} |
| 12 | |
| 13 | * www1098:/home/mittyorz% mkdir -p $HOME/local/src |
| 14 | |
| 15 | * www1098:/home/mittyorz/local/src% wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 |
| 16 | * www1098:/home/mittyorz/local/src% wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-extra.tar.gz |
| 17 | * www1098:/home/mittyorz/local/src% wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz |
| 18 | |
| 19 | * www1098:/home/mittyorz/local/src% tar xzf vim-7.2-extra.tar.gz |
| 20 | * www1098:/home/mittyorz/local/src% tar xzf vim-7.2-lang.tar.gz |
| 21 | * www1098:/home/mittyorz/local/src% mv vim72 vim73 |
| 22 | |
| 23 | * www1098:/home/mittyorz/local/src% tar xjf vim-7.3.tar.bz2 |
| 24 | |
| 25 | * www1098:/home/mittyorz/local/src% mkdir patches |
| 26 | * www1098:/home/mittyorz/local/src/patches% curl -O 'ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.[001-135]' |
| 27 | |
| 28 | * www1098:/home/mittyorz/local/src% mkdir vim72/patches |
| 29 | * www1098:/home/mittyorz/local/src/vim72/patches% |
| 30 | * www1098:/home/mittyorz/local/src/vim72/patches% curl -O 'ftp://ftp.vim.org/pub/vim/patches/7.3/7.3.[001-135]' |
| 31 | |
| 32 | * www1098:/home/mittyorz/local/src% cp -a patches vim73 |
| 33 | * www1098:/home/mittyorz/local/src/vim73% cat patches/7.3.* | patch -p0 |
| 34 | * www1098:/home/mittyorz/local/src/vim73% ./configure --enable-multibyte --enable-xim --enable-fontset --with-features=big --prefix=$HOME/local |
| 35 | * www1098:/home/mittyorz/local/src/vim73% make |
| 36 | * www1098:/home/mittyorz/local/src/vim73% make install |
| 37 | |
| 38 | * www1098:/home/mittyorz/local/src/vim73% ls -l ~/local/bin/ |
| 39 | {{{ |
| 40 | -rwxr-xr-x 1 mittyorz users 1517992 Feb 28 16:04 vim* |
| 41 | }}} |
| 42 | * www1098:/home/mittyorz% vim --version |
| 43 | {{{ |
| 44 | VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 28 2011 15:29:31) |
| 45 | Included patches: 1-135 |
| 46 | Compiled by mittyorz@www1098.sakura.ne.jp |
| 47 | }}} |