#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 _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs