2012年10月18日

Build and install vim7.3 on centos

package source: ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2

yum install gcc
yum install make
yum install ncurses-devel
yum install lua lua-devel
yum install ruby ruby-devel
yum install python python-devel
yum install perl perl-devel

ln -s /usr/lib/liblua-5.1.so /usr/lib/liblua5.1.so
ln -s /usr/lib64/liblua-5.1.so /usr/lib64/liblua5.1.so

./configure \
--disable-selinux \
--disable-darwin \
--enable-luainterp=yes \
--enable-perlinterp=yes \
--enable-pythoninterp=yes \
--enable-python3interp=yes \
--enable-rubyinterp \
--enable-cscope \
--disable-netbeans \
--enable-multibyte \
--enable-xim \
--enable-fontset \
--with-features=huge

make
make install

沒有留言:

張貼留言