Alex Ferguson <[EMAIL PROTECTED]> writes:

> Addr.lhs:8: Could not find valid interface file `Prelude'
>  
> Addr.lhs:10: Could not find valid interface file `PrelAddr'
> 
> 
> Compilation had errors
> gnumake[1]: *** [Addr.mc_o] Error 1
> gnumake: *** [all] Error 2
> 
> 
> Not clear what's going on here, as the Prelude.mc_hi, etc files were
> successfully built, and I didn't have this problem with the original
> build, with only "normal" and "p" ways.  What obvious fumble have I
> made this time?

ghc can't find your .mc_hi files, which either means they're not
there, which doesn't seem to be the case as you point out above, or
ghc is looking in the wrong place.  You could 'make EXTRA_HC_OPTS=-v'
to find out if that's the case.

One thing that commonly causes this is when you are building on a
different machine than the one on which you configured the build, and
the location of the build tree is different (due to an automounter or
whatever).  If that's the case, just re-configure and make boot.

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to