Ticket #7570 (closed bug: wontfix)
GHC's ./configure script should check for ncurses
Description
When building GHC, the configure script will not check for ncurses, even though it is required for the build of terminfo. Without it installed, the build fails mid-way in with:
checking for stdint.h... yes checking for unistd.h... yes checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking curses.h usability... no checking curses.h presence... no checking for curses.h... no configure: error: in `/home/linaro/code/ghc/libraries/terminfo': configure: error: curses headers could not be found, so this package cannot be built See `config.log' for more details
I think that configure should check for ncurses immediately so you don't accidentally lack a dependency. It's just annoying.
Change History
Note: See
TracTickets for help on using
tickets.
