Eeeeexcellent.&nbsp; I actually read the previous post on the bash-&gt;dash switch, but I didn&#39;t make the connection. /me bonks own head.<br><br>--luke<br><br><div><span class="gmail_quote">On 4/6/07, <b class="gmail_sendername">
Ralf Mattes</b> &lt;<a href="mailto:rm@seid-online.de">rm@seid-online.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 2007-04-01 at 15:10 -0500, Rick Taube wrote:<br>&gt; looks to me like a write permission error in the cm isntall<br>&gt; directory? im not sure what that weird path is doing, but thats my<br>&gt; first guess since 
pkg.lisp is the first file that will generate<br>&gt; a .fasl to the cm/bin/.../ directory<br><br>Oh, gosh, sorry. Didn&#39;t I report this weeks ago or did I forget to send<br>a bug report? Anyway - this is _not_ a permission problem but a problem
<br>in the &#39;cm.sh&#39; file. Somehow Tobias Kunze&nbsp;&nbsp;seems to assume that all<br>shells are Bash these days ;-) Using Bashisms in scripts that claim to<br>be runnable by &#39;/bin/sh&#39; is probably not a good idea. Ubuntu switched
<br>from &#39;/bin/bash&#39; to &#39;/bin/dash&#39; and that broke &#39;cm.sh&#39; (that switch<br>alone brought some substantial speedup during boot time so it&#39;s worth<br>keeping it). The code in &#39;cm.asd&#39; is missinterpreting dash&#39;s error
<br>message as real data and tries to create a directory with the name<br>&#39;cm.sh: 393: \[\[: not found&#39; which strangely fails 8-O<br>(dash doesn&#39;t know of the &#39;[[&#39; tests and treats them as a program<br>
name...).<br><br>Solution: either fix the script or change the first line to:<br>&quot;#!/bin/bash -&quot;. Even so the later is rather tempting it might create<br>problems on systems that don&#39;t ship with bash (MacOSX ???).
<br><br>HTH Ralf Mattes<br><br><br>&gt; On Apr 1, 2007, at 2:33 PM, luke hammon wrote:<br>&gt;<br>&gt; &gt; I get the following error when compiling CM (stable and cvs) on<br>&gt; &gt; Ubuntu Feisty with SBCL and CMUCL:<br>
&gt; &gt;<br>&gt; &gt; &quot;can&#39;t create directory /var/cache/common-lisp-controller/1000/sbcl/<br>&gt; &gt; local/usr/local/lisp/cm/bin/sbcl_1.0_/usr/local/lisp/cm/bin/cm.sh:<br>&gt; &gt; 342: \[\[: not found/<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;[Condition of type SB-INT:SIMPLE-FILE-ERROR]&quot;
<br>&gt; &gt;<br>&gt; &gt; SBCL and CMUCL throw the error when compiling &quot;cm/src/pkg.lisp&quot;.<br>&gt; &gt; Clisp compiles it fine, but it prints a similar warning before it<br>&gt; &gt; completes.&nbsp;&nbsp;I haven&#39;t had trouble building it under other distros
<br>&gt; &gt; or previous versions of Ubuntu.<br>&gt; &gt;<br>&gt; &gt; Any ideas? Thanks in advance --<br>&gt; &gt;<br>&gt; &gt; luke<br>&gt; &gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Cmdist mailing list
<br>&gt; <a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br>&gt; <a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br><br>
</blockquote></div><br>