Last active
July 13, 2016 13:59
-
-
Save iho/ff626669af99d5cf446e to your computer and use it in GitHub Desktop.
Build vim with two python`s for vim-pyenv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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