<div dir="ltr"><div><div><div><div>Just in case, is there any update on that?<br></div>I'd prefer to use `compile-collection-zos' than 'raco setup' within a system call, because it allows me to catch the exceptions in case it fails (and it'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 "rwind")', 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"><<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>></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"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></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's possible that things used to work back before `Populate "compiled"<br>
directories' 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'm not really bothered by DrRacket here.<br></div><div>I'd like to be able to compile a collection from command line racket code, without triggering compilation of the Racket'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't think we've figured out the right way to make<br>
different compilation and debugging systems stay out of each others'<br>
way.<br></blockquote><div><br></div></div><div>Ah, that's too bad. <br></div><div>At the very least, I can call the compilation within a system call, but that's quite ugly.<br></div><div>Plus "raco setup my-collec" used to have the same problematic behavior as described above (recompilation of Racket's collections) on some occasions, although I think I haven'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>