Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
3  
I think you should install a ncurses-dev library –  epsilonhalbe Jul 1 '12 at 16:35
    
could you provide the contents of src/auto/config.log –  epsilonhalbe Jul 1 '12 at 16:37
    
thank you epsilon, that solved it. Could you make that into answer so i can give you credit –  Fawkes5 Jul 1 '12 at 17:22

3 Answers 3

up vote 11 down vote accepted

I think you should install a ncurses-dev library.

share|improve this answer

Run sudo apt-get build-dep vim to install all the packages that was used to build the vim package from the repositories.

share|improve this answer

Like epsilonhalbe said, you need a terminal library like ncurses. running sudo apt-get install libncurses5 worked for me.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.