View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-16-2003, 12:10 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Question can't find library - Termcap or Ncurses

Just getting started with Redhat 9. I performed a minimal install ( router / firewall configuration ) of RH9.

Problem: Compiling MySQL 4.0.15a from tar.gz, I get a message that states it can't find the ncurses/termcap libraries. Command I used was ./configure --prefix=/usr/local/mysql

I downloaded both rpm's and attempting to Fvh - nothing. ivh says they are already installed.

checking whether signal handlers are of type void... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found

[root@localhost mysql-4.0.15a]# locate libter
[root@localhost mysql-4.0.15a]# locate libncu
[root@localhost mysql-4.0.15a]#

Anyone have any idea of what I broke this time?

Thanks in advance!!!

Old 10-16-2003, 03:03 PM   #2
LQ Newbie
Registered: Oct 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Fixed my own problem - I "upgraded" my RH9 install and selected everything I could find for ncurses and termcap. It installed about 7MB of stuff off CD#2.

If anyone knows why this fixed it - I'm still interested in knowing why it wasn't working before
Old 03-04-2004, 08:56 AM   #3
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Was going to post this question, but found your thread in a search. Do you think the problem is tgetent?

Trying to install 'screen' from .tar.gz source code. It wouldn't. configure stopped, after a while, with the following error message:

configure: checking socket implementation...
- you are normal
- both sockets and fifos usable. let's take fifos.
configure: checking select return value...
- select can't count
configure: checking for tgetent...
configure: checking libcurses...
configure: checking libtermcap...
configure: checking libtermlib...
configure: checking libncurses...
configure: error: !!! no tgetent - no screen
debian:/home/lugo/.screen/screen-4.0.2# updatedb
ebian:/home/lugo/.screen/screen-4.0.2# locate libtermlib
debian:/home/lugo/.screen/screen-4.0.2# locate libcurses
debian:/home/lugo/.screen/screen-4.0.2# locate libtermcap
debian:/home/lugo/.screen/screen-4.0.2# locate libncurses

Apparently because tgetent is not installed??

Couldn’t find ‘tgetent’ in; but seems to be a component of ‘termcap’:

“The Termcap Library
The termcap library is the application programmer's interface to the termcap data base. It contains functions for the following purposes:
* Finding the description of the user's terminal type (tgetent).
* Interrogating the description for information on various topics (tgetnum, tgetflag, tgetstr).”

So if I install termcap.3.1.tar.gz, something like that, will I be able to install screen?


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
how to use ncurses library skie_knite007 Programming 1 03-01-2005 10:51 AM
termcap bsd or termcap linux? little_ball Slackware 5 12-01-2004 10:22 AM
gnome-terminal problem while trying to use ncurses library dreamhunter Linux - Newbie 2 09-29-2004 04:22 PM
gnome-terminal problem while trying to use ncurses library dreamhunter Programming 0 09-29-2004 04:48 AM
termcap library problem building festival speech gervin Linux - Software 0 02-10-2004 06:57 PM

All times are GMT -5. The time now is 02:51 PM.

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