Opened 4 years ago

Closed 4 years ago

#7570 closed bug (wontfix)

GHC's ./configure script should check for ncurses

Reported by: thoughtpolice Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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 (1)

comment:1 Changed 4 years ago by igloo

difficulty: Unknown
Resolution: wontfix
Status: newclosed

Unfortunately, with the way the build works, I don't think there's a cure that's better than the disease, so I'm going to close this as wontfix.

Note: See TracTickets for help on using tickets.