Unable to compile ghc from darcs

Austin Seipp mad.one at gmail.com
Sun Mar 29 17:31:11 EDT 2009


Excerpts from Colin Paul Adams's message of Sun Mar 29 09:29:43 -0500 2009:
> 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?

Sounds like it has to do with a template haskell update.

>From the root of the source tree, do:

 $ make distclean
 $ ./darcs-all pull -a

Then,

 $ ./configure ...
 $ make ...

like usual.

Austin


More information about the Glasgow-haskell-users mailing list