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:

    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

Here’s hte other dependencies I had to install

    sudo apt-get install libperl-dev ruby-dev python-dev libgtk2.0-dev

Once you have the deps installed, just run

    make 
    sudo checkinstall

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s