Skip to content

Instantly share code, notes, and snippets.

@pharaujo
Created April 27, 2012 17:13
Show Gist options
  • Save pharaujo/2510914 to your computer and use it in GitHub Desktop.
Save pharaujo/2510914 to your computer and use it in GitHub Desktop.
Script to compile Vim73 on CentOS 5
#!/usr/bin/env bash
set -e
export CONF_OPT_PYTHON='--enable-pythoninterp'
export CONF_OPT_MULTIBYTE='--enable-multibyte'
export CONF_OPT_FEAT='--with-features=huge'
export CONF_OPT_NOSELINUX='--disable-selinux'
export CONF_OPT_COMPBY='--with-compiledby="yourname@example.com"'
make distclean
./configure $CONF_OPT_FEAT $CONF_OPT_MULTIBYTE $CONF_OPT_PYTHON $CONF_OPT_COMPBY $CONF_OPT_NOSELINUX
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment