September 15, 2019, 08:34:41 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: configure: error: !!! no tgetent - no screen  (Read 27223 times)

Offline lugoteehalt

  • Linux Noob !
  • *
  • Posts: 22
    • BestiaryOfThePit
configure: error: !!! no tgetent - no screen
« on: March 04, 2004, 02:31:19 PM »
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/termcap/html_chapter/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?

Later:
Did install termcap and then screen. However when screen is run it says:

'Cannot find termcap entry for 'linux''

and won't run.

Thanks any ideas.

Offline lugoteehalt

  • Linux Noob !
  • *
  • Posts: 22
    • BestiaryOfThePit
configure: error: !!! no tgetent - no screen
« Reply #1 on: March 15, 2004, 12:24:06 PM »
In the unlikely event anyone else has the same problem:

When I did:
./configure
for termcap, should have put a --something-else thing after it. This is one of the options given in ./configure --help.

This results in an /etc/termcap ?? file being created. This was absent without the flag.

This seemed very unfriendly.

Offline amalji

  • New Member
  • Posts: 1
configure: error: !!! no tgetent - no screen
« Reply #2 on: August 28, 2004, 09:49:47 PM »
Have you got a fix to it? If so please post it here... I'm also having the same problem!!! :cry:

Offline lugoteehalt

  • Linux Noob !
  • *
  • Posts: 22
    • BestiaryOfThePit
configure: error: !!! no tgetent - no screen
« Reply #3 on: August 31, 2004, 03:39:43 PM »
My second post above is the fix old chap :D.

To try to make it more clear:

When putting in termcap do ./configure --help, then look for the option that makes the thing create an /etc/termcap?? file. Then do ./configure --with the option.

Hope helps.