Compiling Vim – No Terminal Library Found Error

command linecompilingvim

I am running Ubuntu 12.04.

I'm trying to a get a particular plugin for vim working and it requires that vim has ruby support enabled (the plugin is command-t).

People tell me that I must go into my vim directory and run

./configure --enable-rubyinterp

When i do this i get the following error:

    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.

Now I’ve checked and ncurses-base is installed.

What do I need to do?

Best Answer

I think you should install a ncurses-dev library.

you can do so by running sudo apt-get install libncurses5-dev libncursesw5-dev

Related Question