[CM] Re: cannot run cm script on Linux SBCL

Rick Taube taube@uiuc.edu
Mon, 1 Aug 2005 20:24:58 -0500

> debugger invoked on a UNDEFINED-FUNCTION in thread 11105:
>   The function SB-POSIX::GETENV is undefined.

juan -- the sbcl posix support changed somewhere between 0.8.16 (which 
ccrma has) and 0.9.0: in 0.8.16 its sb-ext:posix-getenv and in 0.9.0 
its sb-posix:getenv. ive fixed the problem in rev 1.26 of sbcl.lisp (it 
will take a while for the changes to migrate to anonymous cvs...).

but you still have another problem: the ccrma sbcl 0.8.16 has not been 
patched for callbacks so cm still wont build in it without you first 
either (1) adding callbacks into sbcl (its easy, see 
http://commonmusic.sf.net/doc/install.html#gtk_sbcl ) or (2) disabling 
gtk loading by making the function plotter-can-build? in make.lisp 
return false.

if you decide you dont need/want the gui (option 2) then really you 
should just move up to sbcl 0.9.0 -- it already refuses to build gtk 
(since callbacks dont work there at all) BUT you can then try out the 
realtime code if you want (sans slime for now).