[GHC] #2373: Build fails to pass locations of external tools to
libraries
GHC
trac at galois.com
Wed Jun 18 02:29:05 EDT 2008
#2373: Build fails to pass locations of external tools to libraries
------------------------+---------------------------------------------------
Reporter: bos | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
------------------------+---------------------------------------------------
I am trying to build GHC 6.8.3, and the default version of Haddock on my
system is 2.0.0.0. I have Haddock 0.9 installed as
`/usr/bin/haddock-0.9`, but `libraries/Makefile` does not pass this
information down to the libraries it is building. I am already running
the top-level `configure` script with the `HaddockCmd` environment
variable set appropriately (and verified in the output from `configure`
and inspection of `mk/config.mk`), so it's a simple matter of passing the
information along.
I have attached a patch that passes the build's configured versions of
Alex, Haddock, and Happy down to Cabal for each library. This fixes the
problem for me, and I think it ought to apply to HEAD as well as to the
6.8 branch.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2373>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list