<div dir="ltr"><div><div>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.  <br>
<br></div>Hope this helps<br><br></div>-Ken<br></div><div class="gmail_extra"><br clear="all"><div>-Ken<br></div>
<br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 8:04 AM, Richard Eisenberg <span dir="ltr"><<a href="mailto:eir@cis.upenn.edu" target="_blank">eir@cis.upenn.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 edits in?<br>

<span class="HOEnZb"><font color="#888888"><br>
Richard<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mar 27, 2014, at 7:55 AM, Maarten Faddegon <<a href="mailto:ghc-dev@maartenfaddegon.nl">ghc-dev@maartenfaddegon.nl</a>> wrote:<br>
<br>
> Dear Richard, GHC-devs,<br>
><br>
> Thank you for your reply.<br>
><br>
> I am using the 7.6.3 source distribution. According to <a href="https://ghc.haskell.org/trac/ghc/wiki/Building/QuickStart" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building/QuickStart</a> "perl boot" is not necessary for source distributions. I did give it a try however (repeating step 3 and 4 afterwards), but it did not solve my problem. There is no sync-all script in the source distribution.<br>

><br>
> I went with a source distribution rather than checking out from the git repository because it was recommended on the "Getting the GHC Sources"-page and because I rather make my changes to an otherwise stable tree. Do you think this is a bad idea?<br>

><br>
> Cheers,<br>
><br>
> Maarten Faddegon<br>
><br>
> On 27/03/14 11:41, Richard Eisenberg wrote:<br>
>> Did you `./sync-all get`? Did you `perl boot`? You may want to check out the "Building GHC" section of <a href="https://ghc.haskell.org/trac/ghc/wiki/Building" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Building</a> to make sure you've followed all the steps.<br>

>><br>
>> I hope this helps,<br>
>> Richard<br>
>><br>
>> On Mar 27, 2014, at 6:27 AM, Maarten Faddegon <<a href="mailto:ghc-dev@maartenfaddegon.nl">ghc-dev@maartenfaddegon.nl</a>> wrote:<br>
>><br>
>>> Dear GHC-devs,<br>
>>><br>
>>> 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?<br>
>>><br>
>>> This is what I did:<br>
>>><br>
>>> * Download ghc-7.6.3 sources.<br>
>>> * Make some changes in rts/<br>
>>> * ./configure && make<br>
>>> * inplace/bin/ghc-stage2 --make my_example.lhs -v<br>
>>><br>
>>> And this is the output produced by the last step:<br>
>>><br>
>>> ...<br>
>>> wired-in package ghc-prim mapped to ghc-prim-0.3.0.0-inplace<br>
>>> wired-in package integer-gmp mapped to integer-gmp-0.5.0.0-inplace<br>
>>> wired-in package base mapped to base-4.6.0.1-inplace<br>
>>> wired-in package rts mapped to builtin_rts<br>
>>> wired-in package template-haskell not found.<br>
>>> wired-in package dph-seq not found.<br>
>>> wired-in package dph-par not found.<br>
>>> ...<br>
>>> my_example.lhs:88:8:<br>
>>>    Could not find module `<a href="http://Language.Haskell.TH" target="_blank">Language.Haskell.TH</a>'<br>
>>>    Locations searched:<br>
>>>      Language/Haskell/TH.hs<br>
>>>      Language/Haskell/TH.lhs<br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Maarten Faddegon<br>
>>> _______________________________________________<br>
>>> ghc-devs mailing list<br>
>>> <a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
>>> <a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
><br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div>