Wired-in packages not found

2014-03-27 Thread Maarten Faddegon
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

Re: Wired-in packages not found

2014-03-27 Thread Richard Eisenberg
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

Re: Wired-in packages not found

2014-03-27 Thread Maarten Faddegon
Dear Richard, GHC-devs, Thank you for your reply. I am using the 7.6.3 source distribution. According to https://ghc.haskell.org/trac/ghc/wiki/Building/QuickStart perl boot is not necessary for source distributions. I did give it a try however (repeating step 3 and 4 afterwards), but it did

Re: Wired-in packages not found

2014-03-27 Thread Richard Eisenberg
Ah -- I understand better now. I'm afraid I've never worked with the source distribution, so I don't have further advice about that. It seems odd, though, that changing rts code would cause problems with wired-in packages. Have you tried just building without any edits and then putting your

Re: Wired-in packages not found

2014-03-27 Thread Ken Bateman
I am not the most experienced ghc developer, but I ran configure --prefix=$HOME/ghcinst, then eventually I ran make and make install, and put $HOME/ghcinst/bin on my PATH. Hope this helps -Ken -Ken On Thu, Mar 27, 2014 at 8:04 AM, Richard Eisenberg e...@cis.upenn.eduwrote: Ah -- I

Re: Wired-in packages not found

2014-03-27 Thread Maarten Faddegon
Dear Richard, I tried rebuilding a fresh source distribution which has the same problem. I simply don't think template-haskell is included in the source distribution. I also tried building ghc from the git repository. This time I had (a little bit) more success: ghc builds and has

Re: Wired-in packages not found

2014-03-27 Thread Austin Seipp
Template Haskell is certainly included in the 7.6.3 source distribution - but I'm afraid off hand, I couldn't tell you why it doesn't seem to be picked up by your compilation. FWIW, if you want a change merged upstream, it's encouraged you use GHC from git and make the change there (because there

Re: Wired-in packages not found

2014-03-27 Thread Maarten Faddegon
Dear Austin, Richard, Thank you for your help! I updated my example and as far as I can see everything is working as expected now with the compiler build from the git repository. Best, Maarten On 27/03/14 16:39, Austin Seipp wrote: Template Haskell is certainly included in the 7.6.3