CentOS6.5 に入れたかった
# cd /usr/local/src # wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 # tar xf vim-7.4.tar.bz2 # cd vim74 # ./configure \ --enable-multibyte \ --with-features=huge \ --enable-luainterp \ --enable-perlinterp \ --enable-pythoninterp \ --with-python-config-dir=/usr/lib64/python2.6/config \ --enable-rubyinterp \ # make # make install
バージョン確認
# vim --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 8 2015 10:58:16) ...
バージョン変わってなかったら、PATH に /usr/local/bin が入っているか確認する。
やり直し
# make uninstall # make distclean
configure から再度実行
発生したエラー
configure 時
no terminal library found 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 -y ncurses-devel
configure 時
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5). BEGIN failed--compilation aborted. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). BEGIN failed--compilation aborted. Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). BEGIN failed--compilation aborted.
↓
# yum install -y perl-ExtUtils-Embed