Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69926 - xterm-196 depends on libtermcap, but the depend is not in ebuild
Summary: xterm-196 depends on libtermcap, but the depend is not in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 03:07 UTC by Elan Ruusamäe
Modified: 2005-01-21 00:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2004-11-03 03:07:21 UTC
this is on host i installed binary xterm package:

# epm -q xterm
xterm-196
# xterm
xterm: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

and this is on host where i actually built the xterm package:
# epm -qa|grep termcap
libtermcap-compat-1.2.3-r1

i don't know how this termcap-compat got into my system. and as the xterm will compile *fine* without termcap-compat package, there could be perhaps use flag to enable/disable linking with libtermcap.



Reproducible: Always
Steps to Reproduce:
1. emerge libtermcap-compat
2. FEATURES=buildpkg emerge xterm
3. emerge -C libtermcap-compat
4. emerge -k xterm

Actual Results:
Comment 1 Dan Ost 2004-11-08 07:30:26 UTC
Try running revdep-rebuild (or alternatively, emerge xterm without the -k
option) and see if you still have problems running xterm.
Comment 2 Elan Ruusamäe 2004-11-08 08:51:56 UTC
i can not compile there. and i don't want to compile there :)

the problem i was able to resolve by uninstalling the libtermcap on compile host, then it produced xterm without libtermcap linkage.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-12-28 10:56:22 UTC
Thomas,

would it be advisable to distribute our xterm without --enable-tcap-query and linking against termcap and instead to ncurses?

Comment 4 Thomas Dickey 2004-12-28 11:01:44 UTC
The only advantage of linking with libtermcap is if one had
some old application that uses termcap and needed to have its
screen size specified in the $TERMCAP file.  (Also the backspace
setting, but I'm not aware of anything that uses that feature).

The tcap-query feature would work with ncurses (and I have been
told that vim uses this feature).
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-12-28 11:34:12 UTC
Thomas, in that case, I don't suppose a request for a configure flag switch for termcap vs. ncurses would be out of order, would it?

That might be easiest rather than patching it out?
Comment 6 Thomas Dickey 2004-12-28 12:40:08 UTC
I suppose so (no one's asked for it, but adding it would not be
hard, and patching it would be ugly ;-)
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2005-01-03 20:52:51 UTC
punting to Donnie and the gang, while I'm on LOA for 45-90 days.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-03 20:55:11 UTC
Any dev interested in picking up maintenance for xterm and related sundry (utempter)?
Comment 9 Thomas Dickey 2005-01-09 07:43:34 UTC
I'm adding a --disable-full-tgetent option in xterm patch #198
to address the choice between ncurses and termcap libraries.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-21 00:31:30 UTC
Added xterm-199, which fixes this. Thanks Thomas.