configure: checking libncurses... configure: error: !!! no tgetent - no screen Reproducible: Always
*** 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 +