LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-24-2006, 08:09 PM   #1
rocketman8541
LQ Newbie
 
Registered: Jul 2005
Location: Connecticut
Distribution: FC 3 on desktop FC5 on lappy, rHELL 2.4.9 at the grind
Posts: 3

Rep: Reputation: 0
Vim installation , missing terminal libraries


Hello vimmers,

I need your help diagnosing the following issue:

While .configuring vim7.0 I came across the following failures

Code:
checking --with-tlib argument... empty: automatic terminal library selection
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.
So far to troubleshoot I have attempted the following:

1. Checked for presence of the ncurses rpm:

Code:
 529> rpm -q ncurses
ncurses-5.2-12
530>
2. Checked the /usr/lib dir for library files:

Code:
533> ls libncurses*
libncurses.so.4@  libncurses.so.4.0*  libncurses.so.5@  libncurses.so.5.2*
534> pwd -P
/usr/lib
535>
3. Found this file:
Code:
536> l /etc/termcap
-rw-r--r--    1 root     root       737535 Jul 20  2001 /etc/termcap
537>
4. Guessing around with the "--with-tlib=" option

As a side note I DO NOT have root access on this machine.

I need some direction on what to look at next as Im not familiar interacting with these "terminal libraries". Please help

Cheers!
 
Old 08-25-2006, 04:21 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Install the ncurses-devel and termcap-devel packages.
 
Old 08-28-2006, 08:25 AM   #3
rocketman8541
LQ Newbie
 
Registered: Jul 2005
Location: Connecticut
Distribution: FC 3 on desktop FC5 on lappy, rHELL 2.4.9 at the grind
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
Install the ncurses-devel and termcap-devel packages.
Good catch, upon review this defintily looks like a good direction to begin investigating:

Code:
 504> rpm -q termcap-devel
package termcap-devel is not installed
 506> rpm -q ncurses-devel
package ncurses-devel is not installed
 507>
Will need to install these in my home dir though as opposed to rpm since I dont want to mess with this machines current set up.

What is interesting here is vim 6.0.152 is already on this machine natively. Im wondering how they installed this in the first place?

(The install was tiny for 6.0.152, since I have the space on my shareI want to install a beefier vim with syntax highlighting options)

Will post updates after I set up the above 2 packages
 
Old 08-28-2006, 08:44 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Development (devel) packages are not needed for a package to run. They are needed for compiling packages from source.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
c++ libraries missing roxvogn Programming 1 03-07-2005 01:38 PM
Missing libraries help Jmcatch742 Fedora 1 11-17-2004 06:00 PM
missing libraries onebadnewbie Linux - Software 3 05-24-2003 12:49 AM
Missing Libraries??? shooter Linux - General 3 12-09-2001 10:37 AM
missing libraries babelfish Linux - Newbie 4 08-17-2001 02:49 AM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration