Did you `./sync-all get`? Did you `perl boot`? You may want to check out the "Building GHC" section of https://ghc.haskell.org/trac/ghc/wiki/Building to make sure you've followed all the steps.
I hope this helps, Richard On Mar 27, 2014, at 6:27 AM, Maarten Faddegon <ghc-...@maartenfaddegon.nl> wrote: > Dear GHC-devs, > > I want to experiment with the RTS of GHC but the compiler I built has > problems finding some wired-in packages. How can I include these? > > This is what I did: > > * Download ghc-7.6.3 sources. > * Make some changes in rts/ > * ./configure && make > * inplace/bin/ghc-stage2 --make my_example.lhs -v > > And this is the output produced by the last step: > > ... > wired-in package ghc-prim mapped to ghc-prim-0.3.0.0-inplace > wired-in package integer-gmp mapped to integer-gmp-0.5.0.0-inplace > wired-in package base mapped to base-4.6.0.1-inplace > wired-in package rts mapped to builtin_rts > wired-in package template-haskell not found. > wired-in package dph-seq not found. > wired-in package dph-par not found. > ... > my_example.lhs:88:8: > Could not find module `Language.Haskell.TH' > Locations searched: > Language/Haskell/TH.hs > Language/Haskell/TH.lhs > > Thanks, > > Maarten Faddegon > _______________________________________________ > ghc-devs mailing list > ghc-devs@haskell.org > http://www.haskell.org/mailman/listinfo/ghc-devs _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs