Summary: | app-misc/screen-4.0.3-r6 with sys-libs/ncurses[tinfo] - configure: error: !!! no tgetent - no screen | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Travis Hansen <travisghansen> |
Component: | Current packages | Assignee: | Sven Wegener <swegener> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, shell-tools |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: |
Link against tinfo
patch to link with tinfo |
Description
Travis Hansen
2013-02-21 16:13:12 UTC
*** Bug 459658 has been marked as a duplicate of this bug. *** Created attachment 344118 [details]
Link against tinfo
Occurs for me as well on several boxes. Steps to reproduce: emerge -av1 =sys-libs/readline-6.2_p4 The attached patch fixes the compilation for me. Please note that it is not sufficient to just "append-ldflags -L. -ltinfo". (In reply to comment #2) > Created attachment 344118 [details] > Link against tinfo LDFLAGS are not for libs. Created attachment 344554 [details]
patch to link with tinfo
Supplied patch adds -ltinfo and compiles screen-4.0.3-r8.ebuild; It should be relatively easy to create screen-4.0.3-r9.ebuild...
(In reply to comment #5) > Created attachment 344554 [details] > patch to link with tinfo > > Supplied patch adds -ltinfo and compiles screen-4.0.3-r8.ebuild; It should > be relatively easy to create screen-4.0.3-r9.ebuild... you need to use pkg-config to detect the libs. YOur patch will fail on system not having libtinfo + 06 Apr 2013; Justin Lecher <jlec@gentoo.org> screen-4.0.3-r6.ebuild, + screen-4.0.3-r7.ebuild, screen-4.0.3-r8.ebuild, metadata.xml: + Add fix for detection of tgetent in ncurses/tinfo, #458614 + |