Could not find 'Prelude'
Edward Z. Yang
ezyang at MIT.EDU
Wed Mar 27 03:48:05 CET 2013
I bet if you run ghc-pkg check it will say that base is broken due
to a missing librts... (try changing your build.mk to this:)
GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),dyn v,v)
Excerpts from Richard Eisenberg's message of Tue Mar 26 19:22:35 -0700 2013:
> On HEAD, commit b9d53..., a freshly built ghc-stage2 can't find its Prelude:
>
> > rae:22:06:54 ~/temp> ~/Documents/ghc-baseline/inplace/bin/ghc-stage2 Scratch.hs
> >
> > Scratch.hs:1:1:
> > Could not find module ‛Prelude’
> > There are files missing in the ‛base’ package,
> > try running 'ghc-pkg check'.
> > Use -v to see a list of the files searched for.
> >
>
> I'm building on Mac OS 10.7.5, and my build.mk is set to 'quick'.
>
> Any ideas?
>
> Thanks,
> Richard
More information about the ghc-devs
mailing list