Unable to compile ghc from darcs

Simon Marlow marlowsd at gmail.com
Tue Mar 31 09:13:45 EDT 2009

Colin Paul Adams wrote:
>>>>>> "Simon" == Simon Marlow <marlowsd at gmail.com> writes:
>     >> src/Haddock/Backends/Html.hs:1532:4: Ambiguous occurrence
>     >> `maybeParen' It could refer to either
>     >> `Haddock.Backends.Html.maybeParen', defined at
>     >> src/Haddock/Backends/Html.hs:1462:0 or `GHC.maybeParen',
>     >> imported from GHC at src/Haddock/Backends/Html.hs:42:0-39
>     >> 
>     Simon> Are you using a build tree made with lndir?  If you, you probably want
>     Simon> to link the _darcs directory from your source tree into
>     Simon> your build tree.  This will enable configure to generate a
>     Simon> more accurate version number, which will probably fix the
>     Simon> compile problem with Haddock.
> I don't think so. I am just typing ./configure and make within the
> source tree (the parent of the _darcs directory). Is this bad?

No, that should be fine.  The Haddock build error indicates that either 
your Haddock sources are out of date with respect to your GHC sources, or 
Haddock thinks your GHC is a different version than it really is.

What GHC are you using to bootstrap with, BTW?


More information about the Glasgow-haskell-users mailing list