[GHC] #7472: Build on FreeBSD fails with ncurses
GHC
cvs-ghc at haskell.org
Tue Jan 29 20:06:24 CET 2013
#7472: Build on FreeBSD fails with ncurses
--------------------------------+-------------------------------------------
Reporter: nematoder | Owner: pgj
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 7.6.1 | Keywords: ncurses, freebsd
Os: FreeBSD | Architecture: Unknown/Multiple
Failure: Building GHC failed | Blockedby:
Blocking: | Related:
--------------------------------+-------------------------------------------
Comment(by pgj):
This problem apparently boils down to a build.mk configuration issue, and
has been fixed in the FreeBSD Ports Collection recently [1]. In nutshell,
you should ensure that the following is present in your mk/build.mk file
before building the compiler:
{{{
SRC_HC_OPTS += -I${NCURSESINC} -L${NCURSESLIB} -I${LOCALBASE}/include
-L${LOCALBASE}/lib"
libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-
includes=${NCURSESINC} --configure-option=--with-curses-
libraries=${NCURSESLIB}
}}}
where {{{NCURSESINC}}} is the include directory for ncurses and
{{{NCURSESLIB}}} is the library directory, respectively.
[1] http://lists.freebsd.org/pipermail/svn-ports-
all/2013-January/011462.html
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7472#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list