LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't find library - Termcap or Ncurses (https://www.linuxquestions.org/questions/linux-newbie-8/cant-find-library-termcap-or-ncurses-104751/)

Mynar 10-16-2003 12:10 PM

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? :D

Thanks in advance!!!

:newbie:

Mynar 10-16-2003 03:03 PM

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 :D

lugoteehalt 03-04-2004 08:56 AM

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?


All times are GMT -5. The time now is 12:15 AM.