LinuxQuestions.org
Visit Jeremy's Blog.
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 10-16-2003, 01:10 PM   #1
Mynar
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.

[snip]
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
/usr/lib/libtermcap.so.2.0.8
/usr/lib/libtermcap.so.2
/lib/libtermcap.so.2
/lib/libtermcap.so.2.0.8
[root@localhost mysql-4.0.15a]# locate libncu
/usr/lib/libncurses.so.5.3
/usr/lib/libncurses.so.5
/lib/libncurses.so.5.3
/lib/libncurses.so.5
[root@localhost mysql-4.0.15a]#
[/snip]

Anyone have any idea of what I broke this time?

Thanks in advance!!!

 
Old 10-16-2003, 04:03 PM   #2
Mynar
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, 09:56 AM   #3
lugoteehalt
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:

<snip>
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
/cdrom/dists/potato/main/binary-i386/base/libncurses5_5.0-6.0potato2.deb
/cdrom/dists/potato/main/binary-i386/devel/libncurses4-dev_4.2-9.deb
</snip>

Apparently because tgetent is not installed??

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

From: http://www.linuxselfhelp.com/gnu/ter...termcap_2.html
“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).”
</snip>

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


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


All times are GMT -5. The time now is 11:53 PM.

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