Skip to content

Instantly share code, notes, and snippets.

@mcastelino
Created September 12, 2016 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcastelino/18471a4154d0d48d074a308e0490d511 to your computer and use it in GitHub Desktop.
Save mcastelino/18471a4154d0d48d074a308e0490d511 to your computer and use it in GitHub Desktop.
Building vim from sources for use with vim-go as well a YCM
# Ensure that you install all the dependencies
sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
python3-dev ruby-dev lua5.1 lua5.1-dev libluajit-5.1-dev git
# Ensure that you have the right python config directory
pip install python-config
/usr/bin/python2.7-config --configdir
/usr/bin/python3.4-config --configdir
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
--enable-python3interp \
--enable-python3interp \
--with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu \
--enable-perlinterp \
--enable-luainterp \
--with-luajit \
--enable-gui=gtk2 --enable-cscope --prefix=/usr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment