[CM] how to enable openmcl in gracecl

Heinrich Taube taube at uiuc.edu
Sun Jan 3 08:45:47 PST 2010


> where's the code for re-enabling openmcl hidden? i've looked at  
> package code, but haven't been able to spot it.

maybe you just have to edit CommonLisp::launchLisp()  in src/ 
CommonLisp.cpp and add the startup args for CCL. the serverside socket  
code is in cm2/src/socketserver.lisp. you may have to hack that code  
for ccl -- i cant remember if i ripped out the ccl: port or not after  
it didnt work.

but if you already have cm2 running in Slime and you know emacs im not  
sure why you dont stick with that.

> i'd be very interested to get genetic_algs.lisp from ccrma pages  
> working, either with cl or scheme.

it looks like its already written in cl.


> using ccl i've heard something, but sbcl gives some error when  
> loading gracecl, and clisp gives error (loop-finish) is not allowed  
> outside


as you can see  im able to start cm 2.12.0 in GraceCL using both sbcl  
and clisp so im not sure what the issue you are seeing is.  the  
"launching" lines shows you what command gets exec'ed to start lisp on  
the local host. you would have to cobble up the aprropriate line for  
ccl in CommonLisp::launchLisp().


GraceCL 3.4.0 [svn:1811] (c) 2010 Rick Taube
Launching /usr/local/bin/sbcl --eval '(load "/Users/hkt/Software/cm2/ 
src/socketserver.lisp")' --eval '(cl-user::start-server 8000 "/Users/ 
hkt/Library/Caches/GraceCL/temp1GraceCL")'
Polling socket server... =:)
Connected to Common Lisp on port 8000
; CM install directory: /Users/hkt/Software/cm2/
; Loading pkg.fasl
; Loading sbcl.fasl
; Loading iter.fasl
; Loading level1.fasl
; Loading clos.fasl
; Loading scheme.fasl
; Loading utils.fasl
; Loading mop.fasl
; Loading objects.fasl
; Loading data.fasl
; Loading scales.fasl
; Loading spectral.fasl
; Loading patterns.fasl
; Loading io.fasl
; Loading scheduler.fasl
; Loading gnuplot.fasl
; Loading plt.fasl
; Loading sco.fasl
; Loading clm.fasl
; Loading midi1.fasl
; Loading midi2.fasl
; Loading midi3.fasl
; Loading cmn.fasl
; Loading fomus.fasl
; Loading midishare.fasl
; Loading player.fasl
; Loading sc.fasl
; Loading pm.fasl
; Loading rt.fasl
; Loading parse.fasl
; Loading sal.fasl

  /\\\
---\\\---------
----\\\--------
----/\\\------- Common Music 2.12.0
---/--\\\------
--/----\\\-----
  /      \\\/

OK



GraceCL 3.4.0 [svn:1811] (c) 2010 Rick Taube
Launching /usr/local/bin/clisp -x '(load "/Users/hkt/Software/cm2/src/ 
socketserver.lisp")' -x '(cl-user::start-server 8000 "/Users/hkt/ 
Library/Caches/GraceCL/temp1GraceCL")'
Polling socket server =:)
Connected to Common Lisp on port 8000

;; Loading file /Users/hkt/Software/cm2/cm.asd ...
;;  Loading file /Users/hkt/Software/cm2/src/asdf.lisp ...
;;  Loaded file /Users/hkt/Software/cm2/src/asdf.lisp
;; Loaded file /Users/hkt/Software/cm2/cm.asd
; CM install directory: /Users/hkt/Software/cm2/
; Loading pkg.fas
; Loading clisp.fas
; Loading iter.fas
; Loading level1.fas
; Loading clos.fas
; Loading scheme.fas
; Loading utils.fas
; Loading mop.fas
; Loading objects.fas
; Loading data.fas
; Loading scales.fas
; Loading spectral.fas
; Loading patterns.fas
; Loading io.fas
; Loading scheduler.fas
; Loading gnuplot.fas
; Loading plt.fas
; Loading sco.fas
; Loading clm.fas
; Loading midi1.fas
; Loading midi2.fas
; Loading midi3.fas
; Loading cmn.fas
; Loading fomus.fas
; Loading midishare.fas
; Loading player.fas
; Loading sc.fas
; Loading pm.fas
; Loading rt.fas
; Loading parse.fas
; Loading sal.fas

  /\\\
---\\\---------
----\\\--------
----/\\\------- Common Music 2.12.0
---/--\\\------
--/----\\\-----
  /      \\\/


0 errors, 0 warnings
OK



More information about the Cmdist mailing list