Linux Software > Linux Installation Support

configure: error: !!! no tgetent - no screen

(1/1)

lugoteehalt:
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.

lugoteehalt:
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.

amalji:
Have you got a fix to it? If so please post it here... I'm also having the same problem!!! :cry:

lugoteehalt:
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.

soumitra:
The option you are looking for is --enable-install-termcap

Navigation

[0] Message Index

Go to full version