Unable to compile ghc from darcs

Donnie Jones donnie at darthik.com
Mon Mar 30 04:01:57 EDT 2009


Hello Colin,

In my working with GHC, I have found this page very helpful since it
succinctly outlines the steps for Rebuilding GHC and ensuring you are
up-to-date with everything GHC needs:
  http://hackage.haskell.org/trac/ghc/wiki/Building/Rebuilding

Best of luck!
--
Donnie Jones

On Mon, Mar 30, 2009 at 2:56 AM, Simon Peyton-Jones
<simonpj at microsoft.com> wrote:
> The HEAD and several other packages travel together: if you update one you must update the others.
>
> http://hackage.haskell.org/trac/ghc/wiki/Commentary/Libraries
>
> In this case you need to update template-haskell.
>
> Simon
>
>
> | -----Original Message-----
> | From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-
> | bounces at haskell.org] On Behalf Of Colin Paul Adams
> | Sent: 29 March 2009 15:30
> | To: glasgow-haskell-users at haskell.org
> | Subject: Unable to compile ghc from darcs
> |
> | I was getting errors somewhere in haddock about some ambiguous
> | function, so I did a darcs pull to see if that would pull in a fix for
> | the problem (unfortunately I didn't make a note of the errors).
> |
> | But now the compile fails earlier with errors in deSugar/DsMeta.hs:
> |
> | deSugar/DsMeta.hs:471:48:
> |     Not in scope: type constructor or class `TH.InlineSpecQ'
> |
> | deSugar/DsMeta.hs:504:16:
> |     Not in scope: type constructor or class `TH.TyVarBndr'
> |
> | deSugar/DsMeta.hs:538:50:
> |     Not in scope: type constructor or class `TH.TyVarBndr'
> |
> | deSugar/DsMeta.hs:640:29:
> |     Not in scope: type constructor or class `TH.Kind'
> |
> | etc.
> |
> | Is the code in darcs supposed to be compilable normally?
> |
> | And what can I do about such situations? Just report them here?
> | --
> | Colin Adams
> | Preston Lancashire
> | _______________________________________________
> | Glasgow-haskell-users mailing list
> | Glasgow-haskell-users at haskell.org
> | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>


More information about the Glasgow-haskell-users mailing list