<div dir="ltr"><div><div><div><div>Just in case, is there any update on that?<br></div>I&#39;d prefer to use `compile-collection-zos&#39; than &#39;raco setup&#39; within a system call, because it allows me to catch the exceptions in case it fails (and it&#39;s cleaner).<br>

<br></div>The goal is to have a program (rwind) recompile itself and, on success, restart itself.<br></div>In case of compilation failure, I want to display the exception.<br><br></div><div>But when I try `(compile-collection-zos &quot;rwind&quot;)&#39;, it fails with:<br>

</div><div>make-directory: cannot make directory<br></div><div>path: /usr/lib/racket-5.3.4.10/collects/syntax/parse/private/compiled/debug/<br></div><div>system error: Permission non accordée; errno=13<br><br></div><div>
(permission denied)<br>
</div><div><br></div><div>Thanks,<br></div>Laurent<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 5:36 PM, Laurent <span dir="ltr">&lt;<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Feb 20, 2013 at 3:06 PM, Matthew Flatt <span dir="ltr">&lt;<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The problem is that DrRacket sets various other parameters that affect<br>
compilation --- so that the programs you run within DrRacket get<br>
automatically compiled, for example.<br>
<br>
It&#39;s possible that things used to work back before `Populate &quot;compiled&quot;<br>
directories&#39; was on by default in DrRacket, and turning off that option<br>
in the language dialog may make things work for you.<br></blockquote><div><br></div></div><div>Actually, I&#39;m not really bothered by DrRacket here.<br></div><div>I&#39;d like to be able to compile a collection from command line racket code, without triggering compilation of the Racket&#39;s collections when PLTCOMPILEDROOT is modified.<br>


<br></div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

More generally, I don&#39;t think we&#39;ve figured out the right way to make<br>
different compilation and debugging systems stay out of each others&#39;<br>
way.<br></blockquote><div><br></div></div><div>Ah, that&#39;s too bad. <br></div><div>At the very least, I can call the compilation within a system call, but that&#39;s quite ugly.<br></div><div>Plus &quot;raco setup my-collec&quot; used to have the same problematic behavior as described above (recompilation of Racket&#39;s collections) on some occasions, although I think I haven&#39;t seen it during the last 2 weeks.<span class="HOEnZb"><font color="#888888"><br>


<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Laurent<br></div></font></span></div></div></div>
</blockquote></div><br></div>