vim7.3をソースからインストール

私の知らない間に、vim7.3がリリースされていましたのでCentOSにインストールしました。

 
cd /usr/local/src/
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
tar jxvf vim-7.3.tar.bz2
./configure --enable-multibyte

ここでまさかのエラー・・・

checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
ncursesが必要なので、

yum install ncurses-devel
これで、再挑戦!!

./configure --enable-multibyte
make
今度はmakeでコケた・・
三分位悩んで、--disable-selinuxを追加したら通った!!!

./configure --enable-multibyte --disable-selinux
make
make install
これでインストール終了。