#7570: GHC's ./configure script should check for ncurses
-----------------------------+----------------------------------------------
Reporter: thoughtpolice | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7570>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets