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