LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2020, 06:18 AM   #1
jgun98
LQ Newbie
 
Registered: Apr 2020
Posts: 19

Rep: Reputation: Disabled
make vim error


Hi,
I tried to update vim using source from github.
while try make command I've got this 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.
make[2]: *** [config] Error 1
make[2]: Leaving directory `/root/Downloads/vim/src'
make[1]: *** [reconfig] Error 2
make[1]: Leaving directory `/root/Downloads/vim/src'
make: *** [first] Error 2


Regards,
Gunawan
 
Old 05-18-2020, 06:30 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
An error message that makes not one, but two suggestions!
Code:
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
What more can you desire?

In other words, why don't you follow the instructions?
 
Old 05-18-2020, 06:31 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
you need to find/read the documentation about how to prepare your environment (if you want to build it). From the other hand the suggestion is there:
You need to install a terminal library; for example ncurses.
 
Old 05-18-2020, 06:34 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
There should be a README file, or similar telling you how to build the source. Look for it and review any instructions.
 
Old 05-18-2020, 07:09 AM   #5
jgun98
LQ Newbie
 
Registered: Apr 2020
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thank all.
I've got it.
I need to install ncurses-devel

while ncurses already installed

Regards,
Gunwan
 
Old 05-18-2020, 09:39 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by jgun98 View Post
I need to install ncurses-devel
while ncurses already installed
A general rule of thumb while building is that error messages about missing libraries during the configure stage always refer to the library headers (the devel or dev package) and not the runtime library, because that's what the configure script actually checks. On the other hand, an error message about missing functions during the make stage does refer to the library itself, because those messages come from the linking loader.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora shows 'man vim' but when execute 'vim' got "bash: vim: command not found..." ? flash_os Linux - Newbie 19 01-03-2015 11:56 PM
[SOLVED] How to make Vim (scripts) write to stdout? (or, how to use Vim as a filter program?) dedec0 Linux - Software 13 02-04-2013 05:45 AM
Switching from vim to vim -g from inside vim iDragoon Linux - Software 4 05-15-2009 11:46 AM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration