Here is a short howto on compiling vim by yourself on an ubuntu os. You
should have lua dev, python dev and ruby dev packages installed to support
vim's lua, python and ruby integration.
~% mkdir src && cd src
~% hg clone https://vim.googlecode.com/hg/ vim
~% cd vim
~% hg pull
~% hg update
In ~/src/vim/src/Makefile here are the options I've uncommented:
CONF_OPT_GUI = --disable-gui
CONF_OPT_LUA = --enable-luainterp
CONF_OPT_PYTHON = --enable-pythoninterp
CONF_OPT_RUBY = --enable-rubyinterp
CONF_OPT_FEAT = --with-features=big
CONF_OPT_COMPBY = "--with-compiledby=inside"
CONF_OPT_X = --without-x
Then type:
~% make
~% sudo make install
If you change anything in the src/Makefile be sure to type:
~% make reconfig
in order to take changes into account.