gvim on Ubuntu

I set up this script to build gvim on Ubuntu. It presuppose that you git cloned the vim sources in /opt/src/vim.

#!/bin/sh

sudo apt-get update && sudo apt-get upgrade

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

cd /opt/src/vim
make distclean
sudo make uninstall
git pull

./configure --with-compiledby=lyderic
  --with-features=huge --enable-luainterp 
  --with-lua-prefix=/usr/local 
  --enable-fail-if-missing --enable-gui=gnome2

make -j $(nproc)
sudo make install
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s