[CM] Problems getting started with CLM/CM

Arthur W. Green awg at panix.com
Tue, 19 Feb 2008 14:40:29 -0500


I apologize if this issue has touched on before.  (I couldn't find  
anything in the archives from the past few months.)

I'm new to Lisp and very new to Common Music.  I had no apparent  
problems building a new image of Clozure CL (for PPC Mac OS X),  
setting up the IDE, and installing Common Music.  However, after  
loading Common Music from the listener and building and loading the  
CLM system with (use-system :clm), I tried to run the CLM example in  
the beginning of the CLM html manual:

     (compile-file "/usr/local/lisp/clm/v.ins")
     (load "/usr/local/lisp/clm/v")
     (with-sound () (fm-violin 0 1 440 .1))

However, I don't get even as far as the 'load' expression, because  
compile-file fails and enters the debugger with the following output:

#<SYSTEM "cmn" #x8F7E216>
? ; Writing "/usr/local/lisp/clm/clm_fm_violin.c"
 > Error: Undefined function WALKER::ENVIRONMENT-MACRO called with  
arguments (#<CCL::LEXICAL-ENVIRONMENT #x92E03AE> #:G63) .
 > While executing: WALKER::WALKER-ENVIRONMENT-BIND-1, in process  
 > Type :GO to continue, :POP to abort, :R for a list of available  
 > If continued: Retry applying WALKER::ENVIRONMENT-MACRO to  
 > Type :? for other options.

Surely I must have overlooked something obvious, like setting an  
environment variable or something.  The CLM build itself produced no  
indications of any undefined functions.  What must I be doing wrong?

\\ Arthur