Attempts to emerge apcupsd-3.10.18-r1 fails during configure as follows: checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no configure: error: ncurses headers not found !!! ERROR: sys-power/apcupsd-3.10.18-r1 failed. !!! Function src_compile, Line 64, Exitcode 1 !!! (no error message) ncurses-5.4-r6 is installed. curses.h is present in /usr/include Reproducible: Always Steps to Reproduce: 1. emerge ncurses (f not already installed) 2. emerge apcupsd Actual Results: See details above Expected Results: Installed apcupsd See above
Any word on this bug? It's been awhile and I still haven't gotten apcupsd to compile properly on AMD64.
Have you tried any newer version?
(In reply to comment #2) > Have you tried any newer version? > apcupsd is still at 3.10.18-r1; I don't think ncurses has changed either. The problem seems to be that apcupsd is looking for /usr/include/ncurses/curses.h but the actual include file installed to /usr/include/ncursesw/curses.h I can symlink a fix on my system, but we really should fix the package.
no, you should have both /usr/include/ncurses/curses.h and /usr/include/ncursesw/curses.h