[GHC] #7281: GHC 7.4.2 build fails on Fedora17
GHC
cvs-ghc at haskell.org
Sat Nov 17 23:19:15 CET 2012
#7281: GHC 7.4.2 build fails on Fedora17
-------------------------------+--------------------------------------------
Reporter: PaulJohnson | Owner: judah.jacobson@…
Type: bug | Status: new
Priority: high | Milestone: 7.6.2
Component: Compiler | Version: 7.4.2
Keywords: | Os: Linux
Architecture: x86_64 (amd64) | Failure: Building GHC failed
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by judahj):
It seems that ncurses was changed recently (?) to allow splitting off the
terminfo-specific functionality into a separate library. The fix should
be pretty simple; just edit configure.ac and change
AC_CHECK_LIB(ncursesw, setupterm, HaveLibCurses=YES; LibCurses=ncursesw,
[AC_CHECK_LIB(ncurses, setupterm, HaveLibCurses=YES; LibCurses=ncurses,
[AC_CHECK_LIB(curses, setupterm, HaveLibCurses=YES; LibCurses=curses,
HaveLibCurses=NO; LibCurses=not-installed)])])
adding an extra line to try tinfo first, and otherwise fall back to the
above curses variants.
Unfortunately, I don't have a system with libtinfo to test this on. Can
someone please confirm whether that fixes the problem?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7281#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list