[CM] clm compiling problem

Bill Schottstaedt bil@ccrma.Stanford.EDU
Fri, 23 Sep 2005 04:45:37 -0700


Don't run configure yourself --lisp and C have to agree on the
current configuration when lisp tries to compile and load anything
(an instrument, for example), so lisp has to be the one that
calls configure.  To get the alsa library, first get back to a
clean state (i.e. get rid of config.h and maybe makefile), then
start lisp, (pushnew :alsa *features*) and load all.lisp. This
will cause lisp to include --with-alsa when it runs configure,
and -lasound when it loads stuff.

It might help also to (pushnew :reconfigure *features*) -- this
forces lisp to run the configure script even if it thinks everything
is up-to-date.