Bug 75754 - stabilize media-sound/cm-2.10.0 (2.4.2 aborts on load)
|
Bug#:
75754
|
Product: Gentoo Linux
|
Version: 2004.3
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: hkbst@gentoo.org
|
Reported By: znmeb@cesmail.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: stabilize media-sound/cm-2.10.0 (2.4.2 aborts on load)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-12-26 22:15 0000
|
"Common Music" (media-sound/cm-2.4.2) aborts on startup, giving the message:
znmeb@DreamSong znmeb $ cm
; Loading: /usr/share/cm/src/guile.scm
; Loading: /usr/share/cm/src/goops.scm
; Loading: /usr/share/cm/src/level1.scm
; Loading: /usr/share/cm/src/loop.scm
; Loading: /usr/share/cm/src/utils.scm
; Loading: /usr/share/cm/src/mop.scm
; Loading: /usr/share/cm/src/objects.scm
; Loading: /usr/share/cm/src/io.scm
; Loading: /usr/share/cm/src/scheduler.scm
; Loading: /usr/share/cm/src/sco.scm
; Loading: /usr/share/cm/src/clm.scm
; Loading: /usr/share/cm/src/clm2.scm
; Loading: /usr/share/cm/src/midi1.scm
; Loading: /usr/share/cm/src/midi2.scm
; Loading: /usr/share/cm/src/midi3.scm
; Loading: /usr/share/cm/src/data.scm
; Loading: /usr/share/cm/src/scales.scm
; Loading: /usr/share/cm/src/spectral.scm
; Loading: /usr/share/cm/src/patterns.scm
ERROR: In procedure open-file:
ERROR: No such file or directory: "/usr/share/cm/bin/cminit.lisp"
There's actually an easy workaround; copy "/usr/share/cm/etc/cminit.lisp" into "/usr/share/cm/bin/". However, there's a later version of CM on the web site that (I think) has this fixed. I found this bug myself on a non-Gentoo system last year about this time and notified the author. The latest source is
ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-latest.tar.gz
and the home page is
http://commonmusic.sourceforge.net/doc/
Incidentally, while you have the "cm" ebuild open, there are two ways to build Common Music. One is the way you're doing it now; load the "Scheme" source into Guile. But the package comes with LISP source too, which will run in at least CMUCL and CLISP, and might function in GCL and SBCL as well. Using LISP rather than Scheme/Guile has the advantage that you can add on other LISP programs from the CCRMA toolset, namely Common Lisp Music (synthesis) and Common Music Notation (printing sheet music). It doesn't matter much to me; I don't use either CLM or CMN personally. Other computer music geeks might like to have the whole package available in Gentoo, though. Instructions for building the combined package can be found in the CM documentation.
I just received an email from the creator of CM, Rick Taube at the U. of
Illinois, Urbana. CM 2.5.0 is just about ready for release. If Gentoo sticks
with the current packaging, it will mostly be bug fixes. However, if Gentoo
switches to using CMUCL instead of Guile, the new GUI will be available. The
cost is a dependency on cmucl (I think 18 is OK but I've only tested with 19)
and gtk2.
The ideal case would be an ebuild like Maxima which can build either the Guile
or CMUCL version or both by choosing the appropriate USE flags. I haven't
attempted such an ebuild yet, although it looks easy enough ... there's a
run-time script that comes with the CM package that builds/runs with the user's
choice of LISP environment. You could execute that at build time for CMUCL to
do the LISP compilations, then put symlinks in /usr/bin to the script for each
chosen version.
CM will also run with CLISP and SBCL. The CLISP version doesn't have the GUI
yet, though, and I haven't been able to get the SBCL version to compile yet. So
my recommendation would be to stick with CMUCL and Guile for CM, and package
CLM and CMN with CMUCL only. We'd need to get "lisp@gentoo.org" involved; is it
OK if I add them to the CC list on this bug?
This port really needs to fall under the auspices of the Common Lisp
herd as well, so if its all right with Sound herd I'll update the
metadata.xml to include Common Lisp.
M. I started playing with this software a week or so ago and looked at
the feasibility of writing an ASDF build system for it. This would
1. make it fit into our Common Lisp Controller much more easily,
2. allow the user to load CM as a system they can combine with other
systems in dev-lisp/, 4. let users save their own Lisp images and
3. no doubt be a useful upstream patch.
I haven't looked deeply at the Scheme portion and how to integrate
that properly. Currently we depend on Guile (is that the only Scheme
CM works with?) which is the slowest of Scheme implementations. There
is a Scheme herd, but noone actively working in it, so it might have
to take lower priority.
1. I've been conversing at length with the upstream developer. He is days away
from releasing CM 2.5.0. You can probably update the current CM ebuild (which
uses Guile) easily and close this bug out as "fixed in 2.5.0".
2. I filed a more detailed "enhancement request" to get CM and the other CCRMA
tools built with CMUCL, CLISP, and, where they work, with SBCL. The bug number
is 81453 if you want to attach yourself and the LISP/Scheme herds to it.
3. I don't know if Guile is the only Scheme implementation that supports CM.
It's the only one listed in the documentation, and it's the only one tested.
The *real CCRMA users* do this with CMUCL, except places like Windows and Mac,
where CMUCL doesn't run. On Windows, they use CLISP, and on Macs they use some
other LISP whose name I've forgotten.
4. I just found out from the developer this morning that a patch is required to
SBCL to run CM 2.5.0 -- if you don't have the patch, CM won't even compile.
So ... my recommendation is to just do a version bump on "cm" to 2.5.0 when
it's released, supposedly early next week. Then create a new package in
response to bug 81453, "common-music", which is integrated with the Common Lisp
Controller and runs under CMUCL, CLISP and SBCL if you can get the SBCL patch
into the ebuild.
I'll go ahead and post the details on the SBCL stuff to bug 81453 as soon as I
test them, which will probably be tonight.
Latest news:
1. The upstream developer doesn't use Scheme; he said he hadn't looked recently, but there wasn't any Scheme processor he was aware of that supported everything he was using. In principle Common Music should work with any Scheme, but they're all limited in his opinion.
2. I got the SBCL version to work with the patch and sbcl-0.8.19. Along this path I encountered bug 81546 :). But ... although the patch to SBCL is publicly available, and was posted on an SBCL mailing list, there is no explicit license given with the code, unlike Common Music and SBCL, which are both "free as in freedom". I don't have an email address for the author of the patch, Thomas Burdick, so I can't ask him for a license clarification.
So what makes the most sense to me now is to stick with the "cm" package using Guile and do the version bump, then do CMUCL-default ebuilds for CM, CLM and CMN under the Common Lisp Controller framework. I'm pretty sure they'll all work with CLISP, but the new CM 2.5.0 doesn't have the GUI with a CLISP build. It's probably not worth the effort to test all the combinations of CMUCL, CLISP and SBCL when CMUCL works.
Created an attachment (id=52343) [details]
cm-2.4.2-ASDF.patch
This is the system definition I recently hacked up for CM. It needs some
refinement and a more careful going over of CM's make.lisp. M., where did you
find the SBCL patch? I can't seem to locate it.
SBCL (with the patch) only applies to CM 2.5.0, which is still in CVS. There
should be a tarball for 2.5.0 very soon. Meanwhile, 2.4.2 should build with
Guile (as it is currently packaged) and with CMUCL and CLISP. Neither 2.4.2 nor
2.5.0 work with GCL.
The SBCL patch is at
http://pinhead.music.uiuc.edu/~hkt/sbcl-af-2004-10-22.tgz.
This is the documentation on it from the CVS source for 2.5.0:
4.3 Adding callback support to SBCL (Linux)
As of this date (Feb '05) SBCL does not provide a native callback
facility. Unless you are certain that callbacks exist in your version
of SBCL you will need to install Thomas Burdick's SBCL callback
package and save a new SBCL core image before you build CM:
1. Download Thomas Burdick's Alien Function package and restore it to
a directory on your machine.
2. Compile the Alien Function package and save a new sbcl.core image:
$ cd sbcl-af
$ sbcl --load "system"
* (sb-ext:save-lisp-and-die "/tmp/sbcl.core")
$ cd /usr/local/lib/sbcl
$ mv sbcl.core sbcl.core.orig
$ mv /tmp/sbcl.core .
I understand what patch you're discussing now. I've been
contemplating making that Thomas Burdick alien function patch for SBCL
available as part of the SBCL ebuild via a USE flag
("cmucl_alien_function" or something like that) with a big note that
it is a 3rd party patch which will not be the final callback API SBCL
uses.
I'll check out CVS for 2.5.0.
I don't think GCL is supported. Perhaps it would be easier if they
waited for GCL 2.7.0 which has vastly improved ANSI support...
For now I am going to follow your suggested plan in Comment #4. Fix
the current ebuild for Guile, version bump and add support for Common
Lisp. For the version bump I'll probably take a snapshot of CVS of
2.5.0 and swap in the actual 2.5.0 release source when its made
available.
BTW, M., do you have any experience with using CMN
(http://www.cliki.net/Common%20Lisp%20Music) and/or CLM
(http://www.cliki.net/Common%20Music%20Notation) with CM?
1. Are you on the SBCL mailing list? I brought this patch up, asking about its
status, especially freedom. Rick Taube (father of CM) is apparently the only
one who uses it, and it's really only available on his web site. I have not
been able to contact its author to clarify its license. Rick Taube did
volunteer on the SBCL mailing list to deal with other issues about it. So ...
the proper place for this patch would seem to be as part of the CM ebuild,
assuming that Gentoo wants to support CM under SBCL. If you don't have the
patch, the compile blows up with SBCL.
2. I have been through loading CLM and CMN into CM as a combined package, as
described in the documentation. I've never used either CLM or CMN, although my
plan is to start with CLM in the next week or so. The main reason I'm planning
on using CLM is that there's a Tibetan bowl synthesis routine available for
CLM; I'm not a big fan of re-inventing stuff like that.
The music I write tends not to use standard notation or instruments -- it's
algorithmically composed and synthesized. So I may never try out CMN. I think
Rosegarden and Lilypond are probably much more popular (and user-friendly) for
those purposes anyway, and my plan is to use them if I should need conventional
notation or MIDI tools.
I read the SBCL mailing list of course. My understanding is that the patch
requires a save image, so including it in the CM ebuild may not be the best
place. Besides its really part of Lambda-GTK (by the same author), which CM
uses. The update for sbcl-0.8.20 should include the new USE flag and that
will be in portage shortly.
Good news!! The new SBCL 0.8.20 ebuild emerged properly with the "callback" USE
flag, and compiled cm-2.5.0 from CVS successfully on my Pentium III Coppermine!
I don't have anything exotic, like a PPC, Sparc or Alpha to test it on, though.
Just incorporated dev-lisp/cl-lambda-gtk into portage, so CM 2.5.0 w/ Common
Lisp should be following pretty soon.
Two news flashes from Rick Taube, the developer of Common Music!!
-----------------------------------------------------------------
Common Music 2.6.0 is now available for download from Sourceforge:
http://sourceforge.net/projects/commonmusic/
I won't go into any details since this has been an ongoing saga,
see doc/changelog.text for the complete listing of new features.
Many many thanks to Anders Vinjar and Dave Phillips for testing.
Tested in:
OS LISP VERSION SYSTEMS TESTED
----------------------------------------------------
x86 sbcl 0.8.17 midi,clm3,cmn,gtk2
x86 cmucl 19a midi,clm3,cmn,gtk2
osx guile 1.6.7 midi
osx openmcl cvs midi,clm3,cmn,midishare,gtk2
osx clisp 2.32 midi
osx sbcl 0.8.17 midi
cygwin clisp 2.33.1 midi
winxp clisp 2.33.1 midi
_______________________________________________
Cmdist mailing list
Cmdist@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
-----------------------------------------------------------------
Its now possible to download, install, compile and load CM using ASDF and ASDF-INSTALL.
See:
http://www.cliki.net/asdf
http://www.cliki.net/asdf-install
Thank you Greg Pfeil!
Its pretty cool. This little snippet downloaded and built cm on my wireless network at home (openmcl)
------------------------------------------------------------------------
(require 'asdf)
(push "/Lisp/ccl/tools/asdf-install/" asdf:*central-registry*)
(asdf:operate 'asdf:load-op 'asdf-install)
(setq asdf-install:*verify-gpg-signatures* nil)
(asdf-install:install 'cm)
------------------------------------------------------------------------
Here is a trace if you don't believe me:
? Install where?
0) System-wide install:
System in /usr/local/asdf-install/site-systems/
Files in /usr/local/asdf-install/site/
1) Personal installation:
System in /Users/hkt/.asdf-install-dir/systems/
Files in /Users/hkt/.asdf-install-dir/site/
2) Abort installation.
--> 1
;;; ASDF-INSTALL: Downloading 970724 bytes from http://commonmusic.sourceforge.net/cm_2.6.0.tar.gz to CM.asdf-install-tmp ...
;;; ASDF-INSTALL: Installing CM.asdf-install-tmp in /Users/hkt/.asdf-install-dir/site/, /Users/hkt/.asdf-install-dir/systems/
cm-2.6.0/
cm-2.6.0/bin/
cm-2.6.0/bin/.cvskeep
cm-2.6.0/bin/cm.sh
cm-2.6.0/cm.asd
cm-2.6.0/doc/
cm-2.6.0/doc/changelog.text
cm-2.6.0/doc/cm.html
cm-2.6.0/doc/css/
cm-2.6.0/doc/css/cm.css
cm-2.6.0/doc/dict/
cm-2.6.0/doc/dict/accumulation-cls.html
cm-2.6.0/doc/dict/amplitude-fn.html
cm-2.6.0/doc/dict/append-object-fn.html
cm-2.6.0/doc/dict/axis-cls.html
cm-2.6.0/doc/dict/axis-fn.html
cm-2.6.0/doc/dict/beat-var.html
cm-2.6.0/doc/dict/between-fn.html
cm-2.6.0/doc/dict/cd-fn.html
cm-2.6.0/doc/dict/cents-gtscaler-fn.html
cm-2.6.0/doc/dict/chord-cls.html
cm-2.6.0/doc/dict/chromatic-scale-var.html
cm-2.6.0/doc/dict/clm-audio-stream-cls.html
cm-2.6.0/doc/dict/clm-stream-cls.html
cm-2.6.0/doc/dict/cm-sh.html
cm-2.6.0/doc/dict/cm-version-fn.html
cm-2.6.0/doc/dict/cmio-fn.html
cm-2.6.0/doc/dict/cmio-topic.html
cm-2.6.0/doc/dict/cmio1.png
cm-2.6.0/doc/dict/cmio10.png
cm-2.6.0/doc/dict/cmio11.png
cm-2.6.0/doc/dict/cmio12.png
cm-2.6.0/doc/dict/cmio13.png
cm-2.6.0/doc/dict/cmio14.png
cm-2.6.0/doc/dict/cmio2.png
cm-2.6.0/doc/dict/cmio3.png
cm-2.6.0/doc/dict/cmio5.png
cm-2.6.0/doc/dict/cmio6.png
cm-2.6.0/doc/dict/cmio7.png
cm-2.6.0/doc/dict/cmio8.png
cm-2.6.0/doc/dict/cmio9.png
cm-2.6.0/doc/dict/cmn-cls.html
cm-2.6.0/doc/dict/cmn-stream-cls.html
cm-2.6.0/doc/dict/copier-cls.html
cm-2.6.0/doc/dict/copy-object-fn.html
cm-2.6.0/doc/dict/cycle-cls.html
cm-2.6.0/doc/dict/date-and-time-fn.html
cm-2.6.0/doc/dict/decimals-fn.html
cm-2.6.0/doc/dict/decode-interval-fn.html
cm-2.6.0/doc/dict/defaxis-mac.html
cm-2.6.0/doc/dict/defobject-mac.html
cm-2.6.0/doc/dict/doeach-mac.html
cm-2.6.0/doc/dict/drunk-fn.html
cm-2.6.0/doc/dict/eodqmk-fn.html
cm-2.6.0/doc/dict/eopqmk-fn.html
cm-2.6.0/doc/dict/events-fn.html
cm-2.6.0/doc/dict/expl-fn.html
cm-2.6.0/doc/dict/explseg-fn.html
cm-2.6.0/doc/dict/explsegs-fn.html
cm-2.6.0/doc/dict/f-cls.html
cm-2.6.0/doc/dict/false-var.html
cm-2.6.0/doc/dict/find-object-fn.html
cm-2.6.0/doc/dict/fit-fn.html
cm-2.6.0/doc/dict/fm-spectrum-fn.html
cm-2.6.0/doc/dict/funcall-cls.html
cm-2.6.0/doc/dict/graph-cls.html
cm-2.6.0/doc/dict/heap-cls.html
cm-2.6.0/doc/dict/hertz-fn.html
cm-2.6.0/doc/dict/histogram-fn.html
cm-2.6.0/doc/dict/hshamp-mac.html
cm-2.6.0/doc/dict/hshi-mac.html
cm-2.6.0/doc/dict/i-cls.html
cm-2.6.0/doc/dict/import-events-fn.html
cm-2.6.0/doc/dict/index.html
cm-2.6.0/doc/dict/input-fn.html
cm-2.6.0/doc/dict/insert-object-fn.html
cm-2.6.0/doc/dict/interp-fn.html
cm-2.6.0/doc/dict/interpl-fn.html
cm-2.6.0/doc/dict/interval-fn.html
cm-2.6.0/doc/dict/invert-fn.html
cm-2.6.0/doc/dict/io-mac.html
cm-2.6.0/doc/dict/join-cls.html
cm-2.6.0/doc/dict/keynum-fn.html
cm-2.6.0/doc/dict/line-cls.html
cm-2.6.0/doc/dict/list-named-objects-fn.html
cm-2.6.0/doc/dict/list-subobjects-fn.html
cm-2.6.0/doc/dict/log-axis-cls.html
cm-2.6.0/doc/dict/lookup-fn.html
cm-2.6.0/doc/dict/loudest-var.html
cm-2.6.0/doc/dict/make-cm-fn.html
cm-2.6.0/doc/dict/map-pattern-data-fn.html
cm-2.6.0/doc/dict/map-subcontainers-fn.html
cm-2.6.0/doc/dict/map-subobjects-fn.html
cm-2.6.0/doc/dict/markov-analyze-fn.html
cm-2.6.0/doc/dict/markov-cls.html
cm-2.6.0/doc/dict/midi-channel-map-var.html
cm-2.6.0/doc/dict/midi-channel-pressure-cls.html
cm-2.6.0/doc/dict/midi-cls.html
cm-2.6.0/doc/dict/midi-connections-var.html
cm-2.6.0/doc/dict/midi-control-change-cls.html
cm-2.6.0/doc/dict/midi-eot-cls.html
cm-2.6.0/doc/dict/midi-file-stream-cls.html
cm-2.6.0/doc/dict/midi-key-pressure-cls.html
cm-2.6.0/doc/dict/midi-key-signature-cls.html
cm-2.6.0/doc/dict/midi-note-off-cls.html
cm-2.6.0/doc/dict/midi-note-on-cls.html
cm-2.6.0/doc/dict/midi-pitch-bend-cls.html
cm-2.6.0/doc/dict/midi-program-change-cls.html
cm-2.6.0/doc/dict/midi-sequence-number-cls.html
cm-2.6.0/doc/dict/midi-sequencer-event-cls.html
cm-2.6.0/doc/dict/midi-smpte-offset-cls.html
cm-2.6.0/doc/dict/midi-stream-cls.html
cm-2.6.0/doc/dict/midi-system-event-cls.html
cm-2.6.0/doc/dict/midi-tempo-change-cls.html
cm-2.6.0/doc/dict/midi-text-event-cls.html
cm-2.6.0/doc/dict/midi-time-signature-cls.html
cm-2.6.0/doc/dict/midi-topic.html
cm-2.6.0/doc/dict/midishare-stream-cls.html
cm-2.6.0/doc/dict/mode-cls.html
cm-2.6.0/doc/dict/new-mac.html
cm-2.6.0/doc/dict/next-fn.html
cm-2.6.0/doc/dict/note-accidental-fn.html
cm-2.6.0/doc/dict/note-fn.html
cm-2.6.0/doc/dict/note-name-fn.html
cm-2.6.0/doc/dict/now-fn.html
cm-2.6.0/doc/dict/object-gtcmn-fn.html
cm-2.6.0/doc/dict/object-name-fn.html
cm-2.6.0/doc/dict/object-parameters-fn.html
cm-2.6.0/doc/dict/object-time-fn.html
cm-2.6.0/doc/dict/octave-number-fn.html
cm-2.6.0/doc/dict/odds-fn.html
cm-2.6.0/doc/dict/output-fn.html
cm-2.6.0/doc/dict/palindrome-cls.html
cm-2.6.0/doc/dict/pattern-state-fn.html
cm-2.6.0/doc/dict/pattern-value-fn.html
cm-2.6.0/doc/dict/patternqmk-fn.html
cm-2.6.0/doc/dict/patterns-topic.html
cm-2.6.0/doc/dict/pick-fn.html
cm-2.6.0/doc/dict/pickl-fn.html
cm-2.6.0/doc/dict/pitch-class-fn.html
cm-2.6.0/doc/dict/play-fn.html
cm-2.6.0/doc/dict/player-cont-fn.html
cm-2.6.0/doc/dict/player-load-midifile-fn.html
cm-2.6.0/doc/dict/player-mute-fn.html
cm-2.6.0/doc/dict/player-pause-fn.html
cm-2.6.0/doc/dict/player-save-midifile-fn.html
cm-2.6.0/doc/dict/player-set-tempo-fn.html
cm-2.6.0/doc/dict/player-solo-fn.html
cm-2.6.0/doc/dict/player-start-fn.html
cm-2.6.0/doc/dict/player-stop-fn.html
cm-2.6.0/doc/dict/player-stream-cls.html
cm-2.6.0/doc/dict/player-unmute-fn.html
cm-2.6.0/doc/dict/player-unsolo-fn.html
cm-2.6.0/doc/dict/plotter-add-layer-fn.html
cm-2.6.0/doc/dict/plotter-close-fn.html
cm-2.6.0/doc/dict/plotter-data-fn.html
cm-2.6.0/doc/dict/plotter-fn.html
cm-2.6.0/doc/dict/plotter-front-styling-fn.html
cm-2.6.0/doc/dict/plotter-property-fn.html
cm-2.6.0/doc/dict/plotter-redraw-fn.html
cm-2.6.0/doc/dict/plotter-scroll-fn.html
cm-2.6.0/doc/dict/plotter-topic.html
cm-2.6.0/doc/dict/plotter-zoom-fn.html
cm-2.6.0/doc/dict/plotter1.png
cm-2.6.0/doc/dict/plotter2.png
cm-2.6.0/doc/dict/plotter3.png
cm-2.6.0/doc/dict/plotter4.png
cm-2.6.0/doc/dict/plotter5.png
cm-2.6.0/doc/dict/point-cls.html
cm-2.6.0/doc/dict/power-var.html
cm-2.6.0/doc/dict/prime-form-fn.html
cm-2.6.0/doc/dict/process-mac.html
cm-2.6.0/doc/dict/pval-cls.html
cm-2.6.0/doc/dict/pval-mac.html
cm-2.6.0/doc/dict/pwd-fn.html
cm-2.6.0/doc/dict/quantize-fn.html
cm-2.6.0/doc/dict/ran-fn.html
cm-2.6.0/doc/dict/random-cls.html
cm-2.6.0/doc/dict/range-cls.html
cm-2.6.0/doc/dict/ransegs-fn.html
cm-2.6.0/doc/dict/remove-object-fn.html
cm-2.6.0/doc/dict/remove-subobjects-fn.html
cm-2.6.0/doc/dict/rescale-envelope-fn.html
cm-2.6.0/doc/dict/rescale-fn.html
cm-2.6.0/doc/dict/rewrite-cls.html
cm-2.6.0/doc/dict/rewrite-generation-fn.html
cm-2.6.0/doc/dict/rhythm-fn.html
cm-2.6.0/doc/dict/rm-spectrum-fn.html
cm-2.6.0/doc/dict/rotation-cls.html
cm-2.6.0/doc/dict/save-object-fn.html
cm-2.6.0/doc/dict/scale-max-fn.html
cm-2.6.0/doc/dict/scale-min-fn.html
cm-2.6.0/doc/dict/scale-mod-fn.html
cm-2.6.0/doc/dict/scale-order-fn.html
cm-2.6.0/doc/dict/scale-var.html
cm-2.6.0/doc/dict/scaleeql-fn.html
cm-2.6.0/doc/dict/scalegt-fn.html
cm-2.6.0/doc/dict/scalegteql-fn.html
cm-2.6.0/doc/dict/scalelt-fn.html
cm-2.6.0/doc/dict/scalelteql-fn.html
cm-2.6.0/doc/dict/scaler-gtcents-fn.html
cm-2.6.0/doc/dict/sco-stream-cls.html
cm-2.6.0/doc/dict/seq-cls.html
cm-2.6.0/doc/dict/set-clm-output-hook-fn.html
cm-2.6.0/doc/dict/set-midi-output-hook-fn.html
cm-2.6.0/doc/dict/set-sco-output-hook-fn.html
cm-2.6.0/doc/dict/shell-fn.html
cm-2.6.0/doc/dict/shuffle-fn.html
cm-2.6.0/doc/dict/softest-var.html
cm-2.6.0/doc/dict/sprout-fn.html
cm-2.6.0/doc/dict/stop-fn.html
cm-2.6.0/doc/dict/subcontainers-fn.html
cm-2.6.0/doc/dict/subobjects-fn.html
cm-2.6.0/doc/dict/syntax.html
cm-2.6.0/doc/dict/tempo-var.html
cm-2.6.0/doc/dict/tendency-fn.html
cm-2.6.0/doc/dict/terms.html
cm-2.6.0/doc/dict/transpose-fn.html
cm-2.6.0/doc/dict/transposer-cls.html
cm-2.6.0/doc/dict/true-var.html
cm-2.6.0/doc/dict/tuning-cls.html
cm-2.6.0/doc/dict/vary-fn.html
cm-2.6.0/doc/dict/wait-fn.html
cm-2.6.0/doc/dict/wait-until-fn.html
cm-2.6.0/doc/emacs.html
cm-2.6.0/doc/img/
cm-2.6.0/doc/img/cmlogobb.png
cm-2.6.0/doc/img/cmlogobw.png
cm-2.6.0/doc/img/cmlogosw.png
cm-2.6.0/doc/install.html
cm-2.6.0/etc/
cm-2.6.0/etc/cminit.lisp
cm-2.6.0/etc/contrib/
cm-2.6.0/etc/contrib/lock.cm
cm-2.6.0/etc/examples/
cm-2.6.0/etc/examples/cring.cm
cm-2.6.0/etc/examples/fm.ins
cm-2.6.0/etc/examples/foster.cm
cm-2.6.0/etc/examples/intro.cm
cm-2.6.0/etc/examples/ligeti.cm
cm-2.6.0/etc/examples/plotter.cm
cm-2.6.0/etc/examples/reich.cm
cm-2.6.0/etc/examples/rt.cm
cm-2.6.0/etc/examples/scales.cm
cm-2.6.0/etc/test.cm
cm-2.6.0/etc/xemacs/
cm-2.6.0/etc/xemacs/cm.el
cm-2.6.0/etc/xemacs/custom.el
cm-2.6.0/etc/xemacs/init.el
cm-2.6.0/etc/xemacs/listener.el
cm-2.6.0/readme.text
cm-2.6.0/src/
cm-2.6.0/src/.cvsignore
cm-2.6.0/src/acl.lisp
cm-2.6.0/src/clisp.lisp
cm-2.6.0/src/clm-stubs.lisp
cm-2.6.0/src/clm.lisp
cm-2.6.0/src/clm.scm
cm-2.6.0/src/clm2.lisp
cm-2.6.0/src/clm2.scm
cm-2.6.0/src/clos.lisp
cm-2.6.0/src/cm.lisp
cm-2.6.0/src/cm.scm
cm-2.6.0/src/cmn-stubs.lisp
cm-2.6.0/src/cmn.lisp
cm-2.6.0/src/cmn.scm
cm-2.6.0/src/cmu.lisp
cm-2.6.0/src/data.lisp
cm-2.6.0/src/data.scm
cm-2.6.0/src/goops.scm
cm-2.6.0/src/gui/
cm-2.6.0/src/gui/drawing.lisp
cm-2.6.0/src/gui/editing.lisp
cm-2.6.0/src/gui/eventio.lisp
cm-2.6.0/src/gui/gtkffi-cmusbcl.lisp
cm-2.6.0/src/gui/gtkffi-openmcl.lisp
cm-2.6.0/src/gui/plotter.lisp
cm-2.6.0/src/gui/support.lisp
cm-2.6.0/src/gui/widgets.lisp
cm-2.6.0/src/guile.scm
cm-2.6.0/src/io.lisp
cm-2.6.0/src/io.scm
cm-2.6.0/src/iter.lisp
cm-2.6.0/src/level1.lisp
cm-2.6.0/src/level1.scm
cm-2.6.0/src/loop.lisp
cm-2.6.0/src/loop.scm
cm-2.6.0/src/make.lisp
cm-2.6.0/src/mcl.lisp
cm-2.6.0/src/midi1.lisp
cm-2.6.0/src/midi1.scm
cm-2.6.0/src/midi2.lisp
cm-2.6.0/src/midi2.scm
cm-2.6.0/src/midi3.lisp
cm-2.6.0/src/midi3.scm
cm-2.6.0/src/midishare/
cm-2.6.0/src/midishare/.cvsignore
cm-2.6.0/src/midishare/MidiShare-Interface.lisp
cm-2.6.0/src/midishare/midishare-stubs.lisp
cm-2.6.0/src/midishare/midishare.lisp
cm-2.6.0/src/midishare/midishare.scm
cm-2.6.0/src/midishare/Player-Interface.lisp
cm-2.6.0/src/midishare/player.lisp
cm-2.6.0/src/midishare/player.scm
cm-2.6.0/src/mop.lisp
cm-2.6.0/src/mop.scm
cm-2.6.0/src/objects.lisp
cm-2.6.0/src/objects.scm
cm-2.6.0/src/openmcl.lisp
cm-2.6.0/src/patterns.lisp
cm-2.6.0/src/patterns.scm
cm-2.6.0/src/pkg.lisp
cm-2.6.0/src/sbcl.lisp
cm-2.6.0/src/scales.lisp
cm-2.6.0/src/scales.scm
cm-2.6.0/src/scheduler.lisp
cm-2.6.0/src/scheduler.scm
cm-2.6.0/src/scheme.lisp
cm-2.6.0/src/sco.lisp
cm-2.6.0/src/sco.scm
cm-2.6.0/src/spectral.lisp
cm-2.6.0/src/spectral.scm
cm-2.6.0/src/stocl.lisp
cm-2.6.0/src/utils.lisp
cm-2.6.0/src/utils.scm
#P"/Users/hkt/.asdf-install-dir/site/cm-2.6.0/"
#P"/Users/hkt/.asdf-install-dir/site/cm-2.6.0/" ;;; ASDF-INSTALL: Loading system "cm" via ASDF.
; loading system definition from /Users/hkt/.asdf-install-dir/systems/cm.asd
; into #<Package "ASDF3">
; registering #<SYSTEM "cm" #x63DB3E6> as cm
;Compiler warnings :
; Undefined function COMMON-LISP-USER::CM, in (PERFORM :AFTER (LOAD-OP (EQL #<MODULE "src" #x63D9D06>))) inside an anonymous lambda form.
; Installation directory: "/Users/hkt/.asdf-install-dir/site/cm-2.6.0/"
; Compiling "src/gui/gtkffi-openmcl.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/gtkffi-openmcl.dfsl"
; Compiling "src/midishare/MidiShare-Interface.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/MidiShare-Interface.dfsl"
; Compiling "src/midishare/Player-Interface.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/Player-Interface.dfsl"
; Compiling "src/clm-stubs.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/clm-stubs.dfsl"
; Compiling "src/cmn-stubs.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/cmn-stubs.dfsl"
; Compiling "src/pkg.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/pkg.dfsl"
; Compiling "src/openmcl.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/openmcl.dfsl"
; Compiling "src/clos.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/clos.dfsl"
; Compiling "src/iter.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/iter.dfsl"
; Compiling "src/level1.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/level1.dfsl"
; Compiling "src/scheme.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/scheme.dfsl"
; Compiling "src/utils.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/utils.dfsl"
; Compiling "src/mop.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/mop.dfsl"
; Compiling "src/objects.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/objects.dfsl"
; Compiling "src/data.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/data.dfsl"
; Compiling "src/scales.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/scales.dfsl"
; Compiling "src/spectral.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/spectral.dfsl"
; Compiling "src/patterns.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/patterns.dfsl"
; Compiling "src/io.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/io.dfsl"
; Compiling "src/scheduler.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/scheduler.dfsl"
; Compiling "src/sco.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/sco.dfsl"
; Compiling "src/clm.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/clm.dfsl"
; Compiling "src/clm2.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/clm2.dfsl"
; Compiling "src/midi1.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/midi1.dfsl"
; Compiling "src/midi2.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/midi2.dfsl"
; Compiling "src/midi3.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/midi3.dfsl"
; Compiling "src/midishare/midishare.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/midishare.dfsl"
; Compiling "src/midishare/player.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/player.dfsl"
; Compiling "src/cmn.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/cmn.dfsl"
; Compiling "src/gui/plotter.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/plotter.dfsl"
; Compiling "src/gui/support.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/support.dfsl"
; Compiling "src/gui/widgets.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/widgets.dfsl"
; Compiling "src/gui/editing.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/editing.dfsl"
; Compiling "src/gui/drawing.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/drawing.dfsl"
; Compiling "src/gui/eventio.lisp"
; Loading "bin/openmcl_0.14.2-050216_darwin-powerpc/eventio.dfsl"
; Garbage collecting.
/\\\
---\\\---------
----\\\--------
----/\\\------- Common Music 2.6.0
---/--\\\------
--/----\\\-----
/ \\\/
NIL
?
_______________________________________________
Cmdist mailing list
Cmdist@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
-----------------------------------------------------------------
I'll be downloading and testing CM 2.6.0 either tonight or tomorrow, depending on what's happening.
Have you tried building CM with CMUCL on Gentoo? For some strange reason it
seems to get as far as the following and then hang. I'll look into it further...
$ lisp
CMU Common Lisp CVS release-19a 19a-release-20040728 + minimal debian patches,
running on azathoth
With core: /usr/lib/cmucl/lisp.core
Dumped on: Sat, 2005-05-28 02:17:36-05:00 on camus
For support see http://www.cons.org/cmucl/support.html
Send bug reports to http://bugs.gentoo.org
Type (help) for help or (quit) to exit.
Loaded subsystems:
Python 1.1, target Intel x86
CLOS based on Gerd's PCL 2004/04/14 03:32:47
* (asdf:oos 'asdf:load-op :cm)
; loading system definition from cm.asd into #<The ASDF1498 package>
; Loading #p"/home/mkennedy/tmp/cm-2.6.0/cm.asd".
; registering #<SYSTEM "cm" {58021ACD}> as cm
; Compiling LAMBDA (PCL::.PV-CELL. PCL::.NEXT-METHOD-CALL. OP C):
; Compiling Top-Level Form:
; In: LAMBDA (PCL::.PV-CELL. PCL::.NEXT-METHOD-CALL. OP C)
; (COMMON-LISP-USER::CM)
; Warning: Undefined function COMMON-LISP-USER::CM
; ;
; Warning: This function is undefined:
; COMMON-LISP-USER::CM
;
; Compilation unit finished.
; 2 warnings
; Python version 1.1, VM version Intel x86 on 03 JUN 05 01:12:29 pm.
; Compiling: /home/mkennedy/tmp/cm-2.6.0/src/cm.lisp 22 NOV 03 11:20:24 am
; Byte Compiling Top-Level Form:
; /home/mkennedy/tmp/cm-2.6.0/src/cm.x86f written.
; Compilation finished in 0:00:00.
; Loading #p"/home/mkennedy/tmp/cm-2.6.0/src/cm.x86f".
; Installation directory: "/home/mkennedy/tmp/cm-2.6.0/"
; Compiling "src/gui/gtkffi-cmusbcl.lisp";;; Opening shared library
/usr/lib/libgtk-x11-2.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libgdk-x11-2.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libatk-1.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libgdk_pixbuf-2.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libm.so ...
;;; Done.
;;; Opening shared library /usr/lib/libpangoxft-1.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libpangox-1.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libpango-1.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libgobject-2.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libgmodule-2.0.so ...
;;; Done.
;;; Opening shared library /usr/lib/libdl.so ...
;;; Done.
;;; Opening shared library /usr/lib/libglib-2.0.so ...
;;; Done.
Disregard my last comment. It did finally move on after several minutes.
Lisp if you want to take care of this..
removing maintainer-needed :)
So far, testing on the upstream source is 100 percent successful. I downloaded
2.10.0 and it compiles with no problems under sbcl, cmucl and clisp. And both
guile and gauche load it. I don't have a sound card on my primary machine, so
I'll be testing the GUI on a different one.
Meanwhile, the "install instructions" are simple:
1. Download and unpack the tarball.
2. If you just want to run it with guile or gauche (Scheme), just make a
symbolic link in /usr/bin to the startup script. You might have to set a few
variables, but it's pretty simple. I thing the 2.4.2 ebuild just did this.
3. If you want to run it with Lisp, you need to fire up the startup script once
for each flavor of Lisp. That makes it compile the Lisp source using the Lisp
compiler. After that, it's just like Scheme -- plant a link in /usr/bin.
cm 2.10.0 is in Portage ... it installed fine last night. So you can close this
bug, I think. I'll be testing it in a day or so -- I'm in the middle of testing
audicle/chuck, but once that's done, it's back to common music.
(In reply to comment #21)
> cm 2.10.0 is in Portage ... it installed fine last night. So you can close this
> bug, I think.
Re-assigning yet again for 2.10.0 stabilization.
just fixed tests, stabling may commence
; Compiling "src/spectral.lisp"
debugger invoked on a SIMPLE-ERROR:
Error during processing of --eval option "(progn (load \"./src/cm.lisp\"
:verbose nil) (cm))":
0.0 can't be converted to type NIL.
USE="emacs test -doc"
sbcl 1.0.1 (testing still) sucessfully compiles cm.
(In reply to comment #26)
> sbcl 1.0.1 (testing still) sucessfully compiles cm.
sbcl dep fixed
NB cm supports a couple of lisp implementations. You can force the one it uses
by setting FORCEIMPL to one of openmcl, sbcl, cmucl ,clisp, ecls, guile,
gauche, like so
FORCEIMPL=ecls FEATURES=test ebuild cm-2.10.0.ebuild clean test
happy testing :)
Marijn: You need to adjust dependency on app-emacs/slime to at least 2.0...it
has to go stable for that.
=media-sound/cm-2.10.0 compiles, merges, and works on amd64.
emerge --info:
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.20-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU T7200 @
2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 05 Apr 2007 17:00:09 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict
prelink sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://gentoo.mirrors.tds.net/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/voip
/usr/portage/local/layman/toolchain /usr/portage/local/layman/iwlwifi"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx alsa amd64 arts berkdb bitmap-fonts cairo cdda cddb
cdinstall cdr cli cracklib crypt cups dbus doc dri dvd dvdr eds emboss encode
esd exif fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal
iconv ipv6 isdnlog jack java5 jce jikes jpeg kde ldap libg++ mad midi mikmod
mozbranding mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png
ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl
srvdir ssl symlink tcpd theora truetype truetype-fonts type1-fonts unicode
vorbis x264 xml xorg xv xvid zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="streamzap" USERLAND="GNU"
VIDEO_CARDS="i810 i945 vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #29)
> Marijn: You need to adjust dependency on app-emacs/slime to at least 2.0...it
> has to go stable for that.
I did it.