Build vim in Ubuntu with the source code.
Memo for building vim in Ubuntu with the source code.
$ wget http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.335.orig.tar.gz $ tar xf vim_7.4.335.orig.tar.gz $ cd vim-7.4.335 $ ./configure --prefix=/usr/local --mandir=/usr/local//man --enable-multibyte --with-tlib=ncurses --enable-cscope --with-features=huge --enable-luainterp --enable-rubyinterp --enable-pythoninterp --enable-gui=no --without-x $ make ... checking --with-tlib argument... empty: automatic terminal library selection checking for tgetent in -ltinfo... no checking for tgetent in -lncurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lcurses... no no terminal library found checking for tgetent()... configure: error: NOT FOUND! You need to install a terminal library; for example ncurses. Or specify the name of the library with --with-tlib. make[1]: *** [config] Error 1 make[1]: Leaving directory `/home/vagrant/Downloads/vim-7.4.335/src' make: *** [first] Error 2 $ sudo aptitude install ncurses-dev # To resolve the error $ make $ sudo make install