Ticket #7570 (closed bug: wontfix)

Opened 4 months ago

Last modified 6 weeks ago

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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 6 weeks ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to wontfix

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.