can't build ghc-6.11: "Failed to load interface for `GHC'"
I was trying to build ghc-6.11.20090520 on Fedora 10 x86_64 with ghc-6.10.2 and got to:
utils/runghc/ghc.mk:26: utils/runghc/dist/build/.depend: No such file or directory
ghc/ghc.mk:95: ghc/stage2/build/.depend: No such file or directory
/usr/bin/ghc -H32m -O -package-conf libraries/bootstrapping.conf -i -ighc/. -ighc/stage1/build -ighc/stage1/build/autogen -Ighc/stage1/build -Ighc/stage1/build/autogen -package ghc-6.11 -XCPP -XPatternGuards -XForeignFunctionInterface -XUnboxedTuples -XFlexibleInstances -XMagicHash -fforce-recomp -optc-O0 -odir ghc/stage1/build -hidir ghc/stage1/build -stubdir ghc/stage1/build -hisuf hi -osuf o -hcsuf hc -c ghc/./Main.hs -o ghc/stage1/build/Main.o
ghc/Main.hs:14:0:
Failed to load interface for `GHC':
There are files missing in the `ghc-6.11' package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
make[2]: *** [ghc/stage1/build/Main.o] Error 1
make[1]: *** [all] Error 2