Dear fellow GHC users,
For a number of years GHC has been equipped with the external core language.
For those of you who are unfamiliar with this, it is a way to get GHC to
emit or read in programs in a format which is very close to its internal
intermediate language. This is for instance useful
Trying to recompile GHC (for the template-haskell existential support), but
keeps failing on CABAL (the import for Foreign.Marshal.Alloc is missing
from ghc/lib/compat/Distribution/Version.hs as well as import paths for
Data/Version.hi which is not compiled yet as it depends on ghc-inplace.
There have been quite a few changes here including new directories. Make
sure you cvs update with the -d flag, in both ghc/ and libraries/.
And make sure all makefiles and autoconf stuff is up to date. then
autoreconf and ./configure.
Before doing make, go to ghc/driver and 'make clean'.