[CM] installing and runing clm on osx

Rick Taube taube@uiuc.edu
Tue, 15 May 2007 15:40:02 -0500


here is a trace of me untarring clm, starting openmcl, loading clm  
and listening to the fm-violin toot.

galen:/Lisp hkt$ tar -zxf clm-3.tar.gz
galen:/Lisp hkt$ cd clm-3
galen:/Lisp/clm-3 hkt$ openmcl
Welcome to OpenMCL Version 1.0-p060223 (DarwinPPC32)!

? (load "all.lisp")
;   running cd /Lisp/clm-3/ && ./configure --quiet --with-doubles -- 
with-float-samples
; Compiling "/Lisp/clm-3/io.c"
; Compiling "/Lisp/clm-3/headers.c"
; Compiling "/Lisp/clm-3/audio.c"
; Compiling "/Lisp/clm-3/sound.c"
; Compiling "/Lisp/clm-3/clm.c"
; Compiling "/Lisp/clm-3/sc.c"
; Compiling "/Lisp/clm-3/cmus.c"
; Creating "/Lisp/clm-3/libclm.dylib"
;;gcc  -dynamiclib -o /Lisp/clm-3/libclm.dylib /Lisp/clm-3/headers.o / 
Lisp/clm-3/audio.o /Lisp/clm-3/io.o /Lisp/clm-3/sound.o /Lisp/clm-3/ 
clm.o /Lisp/clm-3/cmus.o /Lisp/clm-3/sc.o  -L/usr/X11R6/lib -lX11  - 
lm -lc -framework CoreAudio
; Building sndplay program: "/Lisp/clm-3/sndplay"
;Compiler warnings for "/Lisp/clm-3/ffi.lisp" :
;   Unused lexical variable DEV, in SL-DAC-1.
;   Unused lexical variable NAME, in SL-DAC-1.
;Compiler warnings for "/Lisp/clm-3/sound.lisp" :
;   Unused lexical variable CALLS, in SOUND-LET.
;Compiler warnings for "/Lisp/clm-3/env.lisp" :
;   Unused lexical variable XX, in ENVELOPE-REPEAT.
;Compiler warnings for "/Lisp/clm-3/clm-snd.lisp" :
;   Unused lexical variable ARGS, in <SEND-SND>.
;   Unused lexical variable FSTR, in <SEND-SND>.
;   Unused lexical variable RESULT, in <SEND-SND>.
#P"/Lisp/clm-3/all.lisp"

? (load (compile-file "v.ins"))
; Writing "/Lisp/clm-3/clm_fm_violin.c"
; Compiling "/Lisp/clm-3/clm_fm_violin.c"
#P"/Lisp/clm-3/v.dfsl"

? (with-sound () (fm-violin 0 10 440 .2))
"test.aiff"
?

On May 15, 2007, at 2:32 PM, peiman khosravi wrote:

> Hello everyone,
>
> I am completely new to clm and lisp (although I have used openmusic
> before) so please forgive the newbie question.
>
> I am on osx 10.4.9 powerbook ppc. I have already installed openmcl and
> I can run it from the terminal with no problems. However I cannot
> manage to build and install clm using all.lisp. Where I load all.lisp
> it all seems to go according to plan but afterwards I am unable to run
> any of the examples that come with the clm package.
>
> I believe I have all the xcode packages installed but is there a way
> to check this as I don't want to reinstall xcodes unneccesarily if I
> already have everything. Maybe I am doing something wrong when trying
> to run clm: do I start openmcl and run clm from there? How is openmcl
> supposed to find clm? Is there a way to check if clm is installed on
> my system?
>
> Sorry for all these questions. I would very much appreciate any  
> suggestions.
> Many Thanks
> Peiman
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist