Skip to content

Instantly share code, notes, and snippets.

@feuvan
Created May 16, 2013 06:55
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 feuvan/5589882 to your computer and use it in GitHub Desktop.
Save feuvan/5589882 to your computer and use it in GitHub Desktop.
Compile VIM 7.3 for CentOS5.x or other legacy Linux distro for Python2.7 w/o root access
# for all patches up to date, or download tgz from vim.org
hg clone https://vim.googlecode.com/hg/ vim
cd vim
# override vi_cv_path_python with your preferred python 2.x location
./configure --disable-selinux --enable-gui=no --enable-pythoninterp --enable-perlinterp --enable-rubyinterp --enable-multibyte --prefix=$HOME vi_cv_path_python=/usr/local/bin/python2.7
make -j 20
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment