Wednesday, December 28, 2011

Compiling VIM

Running ubuntu 10.10 here and ubuntu repos have only vim 7.2. I'm sure there's a ppa out there that has 7.3, but thought
that compiling vim from source would be a good exercise - plus I get to compile it with the options that I'd like
rather than relying on someone's build.


Here's the options that I enabled:
[sourcecode language="text"]
CONF_OPT_PERL = --enable-perlinterp=dynamic
CONF_OPT_PYTHON = --enable-pythoninterp
CONF_OPT_RUBY = --enable-rubyinterp
CONF_OPT_GUI = --enable-gui=gtk2
CONF_OPT_FEAT = --with-features=huge
BINDIR = /usr/bin
DATADIR = /usr/share
[/sourcecode]
Here's hte other dependencies I had to install
[sourcecode language="bash"]
sudo apt-get install libperl-dev ruby-dev python-dev libgtk2.0-dev
[/sourcecode]
Once you have the deps installed, just run
[sourcecode language="bash"]
make
sudo checkinstall
[/sourcecode]

No comments :

Post a Comment