Skip to content

Instantly share code, notes, and snippets.

@iho
Last active July 13, 2016 13:59
Show Gist options
  • Save iho/ff626669af99d5cf446e to your computer and use it in GitHub Desktop.
Save iho/ff626669af99d5cf446e to your computer and use it in GitHub Desktop.
Build vim with two python`s for vim-pyenv
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 \
ruby-dev python3-dev
sudo apt-get remove vim vim-runtime vim-common
./configure --with-features=huge \
--enable-multibyte \
--enable-cscope=yes \
--enable-pythoninterp=dynamic \
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/ \
--enable-python3interp=dynamic \
--with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/ \
--enable-gui=gtk2\
--prefix=/usr
make VIMRUNTIMEDIR=/usr/share/vim/vim74
sudo checkinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment