Still problems building ghc 6.5 with ghc 6.4

Michael Marte marte at
Wed Mar 29 04:09:40 EST 2006

Simon Marlow wrote:

> Michael Marte wrote:
>> Yes, I synced my working copy of ghc 6.5 yesterday with darcs pull.
>> Are there any requirements as to which exact version of ghc 6.4 I am 
>> supposed to use?
>> I am using the plain 6.4 release but I am able to build the head of 
>> the 6.4 branch.
>> BTW. Am I supposed to run configure after syncing the working copy 
>> and/or clean the source tree before issueing the make command?
> The *safest* thing to do after pulling is to completely make clean, 
> autoreconf, and build from scratch.  You may be able to avoid being 
> that drastic if you know what you're doing.  There are quite a few 
> dependencies in the GHC tree that aren't tracked explicitly, for 
> practical reasons; for example, the build system doesn't know that 
> when the .hi format changes you need to rebuild all your libraries.
> I suspect something is out of date in your case, but I'm not sure 
> what.    If you don't want to rebuild everything, you could try just 
> rebuilding ghc/lib/compat, and then remove ghc/stage1/parser/Lexer.o, 
> build stage 1, and then carry on with stage 2.
> Cheers,
>     Simon

I did as you said (make clean; autoreconf; configure; make) but it 
didn't help; I get the same error as before.


More information about the Glasgow-haskell-users mailing list