Alex Ferguson writes:
>
>
> (The file are actually in ~abf/ghc-3.01/build/ghc/lib/std/Prel*.mc_hi
> if that makes sense of what follows, which _looks_ like the right place
> for them.)
>
...
> -himap=./%.mc_hi:/usr/local/ghc-3.01/lib/imports/conc/%.mc_hi:/usr/local/ghc-3.0
> 1/lib/imports/conc/%.mc_hi:/usr/local/ghc-3.01/lib/imports/exts/%.mc_hi:/usr/loc
> al/ghc-3.01/lib/imports/conc/%.mc_hi:/usr/local/ghc-3.01/lib/imports/exts/%.mc_h
> i:/usr/local/ghc-3.01/lib/imports/std/%.mc_hi -v -hifile=/tmp/ghc28058.hi
> -C=/tmp/ghc28058.hc +RTS -H6000000 -K1000000 -s/tmp/ghc28058.stat
> Glasgow Haskell Compiler, version 3.01, for Haskell 1.4
>
> Addr.lhs:8: Could not find valid interface file `Prelude'
>
> Addr.lhs:10: Could not find valid interface file `PrelAddr'
>
Looks like the driver script you're using contains absolute paths to
the 3.01 installation directory, not relative path names to build tree
directories. I'm guessing you've run 'make install' sometime earlier
from within this build tree - try re-making the contents of ghc/driver
(i.e., 'make clean all'), and see if that helps.
--Sigbjorn