[CM] Hi everybody! Compilation problem with some software.
Joan Sanz
joansanzrab at gmail.com
Mon Dec 12 20:09:43 PST 2005
Hi everybody!
First of all, excuse my english (I'm a catalan-speaking guy). I'm a musician
and want to try common music stuff, impressed as I am by Rick's Taube
Aeolian Harp. Sure, true art can be made with computers! (Rick, greetings
for this piece; I think it's excellent!). I'm an absolutely newbie on Lisp
and I've been trying to install a common music system in my debian sid
distro with KDE 3.4 and ALSA, kernel 2.6.14 (pentium IV 2,6 GHz).
I've followed the instructions at common music web, installing CMUCL and
Xemacs21.
Then I've entered $ cm (after the ln command) and it has compiled
correctly.
I've also downloaded the other software with uneven success:
-CFFI: (use-system :cffi) compiles ok in Xemacs and from the shell.
-CLM: (use-system :clm) doesn't work; a libclm.so error before updating cvs
few hours ago; now, the same situation.
-CMN: (use-system :cmn), the same as CLM.
-Fomus: (use-system :cmn), Ok.
-Midishare: (use-system :midishare), Wrong.
-Player: (use-system :player), same as above, wrong.
-Portmidi (use-system: portmidi), wrong too. After # apt-get install
libportmidi0 (libportmidi.so.0 and libportmidi.so.0.0.0 in /usr/lib), no
libporttime.so stuff found (?), the quoted error.
Report errors (tried (use-system :app) in * prompt after entering $ cm, that
is, from the shell; also tried Bill's advice,
http://www.mail-archive.com/cmdist@ccrma.stanford.edu/msg00065.html ,
without sucess):
CLM
$ cd /usr/local/lisp/clm-3; cm
* (pushnew :alsa *features*)
(:ALSA :CM :RTS :ASDF :CLC-OS-DEBIAN :COMMON-LISP-CONTROLLER :GERDS-PCL
:PCL-STRUCTURES :PORTABLE-COMMONLOOPS :PCL :CMU19 :CMU19C :PYTHON
:CONSERVATIVE-FLOAT-TYPE :MODULAR-ARITH :CMU19A-PATCH-001 :MP :X86
:LINKAGE-TABLE :RELATIVE-PACKAGE-NAMES :LINUX :GLIBC2 :UNIX :RANDOM-MT19937
:GENCGC :PENTIUM :I486 :HASH-NEW :HEAP-OVERFLOW-CHECK :STACK-CHECKING
:COMMON
:COMMON-LISP :ANSI-CL :IEEE-FLOATING-POINT :CMU)
* (load "all.lisp")
; Loading #P"/usr/local/lisp/clm-3/all.lisp".
; using existing configuration file config.h
; Compiling "/usr/local/lisp/clm-3/sc.c"
Unknown colorls variable `su'.
; Creating "/usr/local/lisp/clm-3/libclm.so"
;;ld -shared -whole-archive -o /usr/local/lisp/clm-3/libclm.so
/usr/local/lisp/clm-3/headers.o /usr/local/lisp/clm-3/audio.o
/usr/local/lisp/clm-3/io.o /usr/local/lisp/clm-3/sound.o
/usr/local/lisp/clm-3/clm.o /usr/local/lisp/clm-3/cmus.o
/usr/local/lisp/clm-3/sc.o -lasound -L/usr/X11R6/lib -lX11
Unknown colorls variable `su'.
;; Loading #P"/usr/local/lisp/clm-3/clm-package.x86f".
Warning: CLM also exports the following symbols:
(*CLM-WITH-SOUND-DEPTH* MUS-BSHORT FILTER WSDAT-PLAY SRC SPECTRUM
*CLM-CHANNELS* FINISH-WITH-SOUND INIT-WITH-SOUND MUS-LSHORT CLM-LOAD
*CLM-FILE-NAME* *CLM-SRATE* *DEFINSTRUMENT-HOOK* MUS-RIFF ENV DAC
MUS-NEXT
CLM:WITH-SOUND MUS-AIFC CLM:DEFINSTRUMENT)
;; Loading #P"/usr/local/lisp/clm-3/initmus.x86f".
;;; Running /usr/bin/ld...
File-error in function LOAD-FOREIGN:
File does not exist: /usr/local/lisp/clm-3/libclm.so.
[Condition of type KERNEL:SIMPLE-FILE-ERROR]
Restarts:
0: [CONTINUE] Return NIL from load of "all.lisp".
1: [ABORT ] Return to Top-Level.
Debug (type H for help)
(LOAD-FOREIGN "/usr/local/lisp/clm-3/libclm.so"
:LIBRARIES ("-lc")
:BASE-FILE ...)
Source:
; File: target:code/foreign.lisp
(ERROR 'SIMPLE-FILE-ERROR :PATHNAME NAME :FORMAT-CONTROL ...)
0]
CMN
$ cd /usr/local/lisp/cmn; cm
Loaded subsystems:
Python 1.1, target Intel x86
CLOS based on Gerd's PCL 2004/04/14 03:32:47
* (use-system :cmn)
; loading system definition from cmn.asd into #<The ASDF3097 package>
; Loading #P"/usr/local/lisp/cmn/cmn.asd".
; registering #<SYSTEM "cmn" {5877FC0D}> as cmn
; Loading #P"/usr/local/lisp/cmn/cmn-all.lisp".
; Compiling "/usr/local/lisp/cmn/sgicmn.c"
Unknown colorls variable `su'.
Unknown colorls variable `su'.
;;; Running /usr/bin/ld...
File-error in function LOAD-FOREIGN:
File does not exist: /usr/local/lisp/cmn/sgicmn.so.
[Condition of type KERNEL:SIMPLE-FILE-ERROR]
Restarts:
0: [CONTINUE] Return NIL from load of #P"/usr/local/lisp/cmn/cmn-all.lisp
".
1: [RETRY ] Retry performing #<ASDF:LOAD-SOURCE-OP NIL {58775BAD}> on
#<ASDF:CL-SOURCE-FILE "cmn-all" {58787AE5}>.
2: [ACCEPT ] Continue, treating #<ASDF:LOAD-SOURCE-OP NIL {58775BAD}> on
#<ASDF:CL-SOURCE-FILE "cmn-all" {58787AE5}> as
having been successful.
3: [ABORT ] Return to Top-Level.
Debug (type H for help)
(LOAD-FOREIGN "/usr/local/lisp/cmn/sgicmn.so" :LIBRARIES ("-lc") :BASE-FILE
...)
Source:
; File: target:code/foreign.lisp
(ERROR 'SIMPLE-FILE-ERROR :PATHNAME NAME :FORMAT-CONTROL ...)
0]
MIDISHARE
$ cd /usr/local/lisp/midishare; cm
Loaded subsystems:
Python 1.1, target Intel x86
CLOS based on Gerd's PCL 2004/04/14 03:32:47
* (use-system :midishare)
; loading system definition from midishare.asd into #<The ASDF3097 package>
; Loading #P"/usr/local/lisp/midishare/midishare.asd".
; registering #<SYSTEM :MIDISHARE {58791995}> as MIDISHARE
; loading system definition from
/usr/local/lisp/cffi-luis-051212-0545/cffi.asd
; into #<The ASDF3099 package>
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/cffi.asd".
; registering #<SYSTEM CFFI {587AB585}> as CFFI
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/utils.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/cffi-cmucl.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/package.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/libraries.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/early-types.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/types.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/enum.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/strings.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/functions.x86f".
; Loading #P"/usr/local/lisp/cffi-luis-051212-0545/src/foreign-vars.x86f".
; Loading #P"/usr/local/lisp/midishare/midishare.x86f".
Error in function C::DO-CALL:
Midishare library "/usr/lib/libMidiShare.so" not found. Fix
*libmidishare*.
[Condition of type SIMPLE-ERROR]
Restarts:
0: [CONTINUE] Return NIL from load of
#P"/usr/local/lisp/midishare/midishare.x86f".
1: [RETRY ] Retry performing #<ASDF:LOAD-OP NIL {587753ED}> on
#<ASDF:CL-SOURCE-FILE "midishare" {58799D15}>.
2: [ACCEPT ] Continue, treating #<ASDF:LOAD-OP NIL {587753ED}> on
#<ASDF:CL-SOURCE-FILE "midishare" {58799D15}> as
having been successful.
3: [ABORT ] Return to Top-Level.
Debug (type H for help)
(C::DO-CALL #<Code Object "Top-Level Form" {58F7E79F}> 57 58 25 ...)
Source:
; File: target:code/byte-interp.lisp
(BYTE-APPLY FUNCTION NUM-ARGS OLD-SP)
0]
PORTMIDI
$ lsmod | grep snd returns this:
snd_seq_dummy 4612 0
snd_seq_oss 36096 0
snd_seq_midi 10144 0
snd_rawmidi 27296 1 snd_seq_midi
snd_seq_midi_event 8192 2 snd_seq_oss,snd_seq_midi
snd_seq 56464 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device 9484 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_intel8x0 35808 0
snd_ac97_codec 95612 1 snd_intel8x0
snd_ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 55072 0
snd_mixer_oss 20864 1 snd_pcm_oss
snd_pcm 94212 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 27268 2 snd_seq,snd_pcm
snd 59108 10
snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11616 1 snd
snd_page_alloc 11784 2 snd_intel8x0,snd_pcm
$ cd /usr/local/lisp/portmidi; cm
Loaded subsystems:
Python 1.1, target Intel x86
CLOS based on Gerd's PCL 2004/04/14 03:32:47
* (use-system: portmidi)
Reader error on #<Two-Way Stream, Input = #<Synonym Stream to
SYSTEM:*STDIN*>, Output = #<Synonym Stream to SYSTEM:*STDOUT*>>:
illegal terminating character after a colon: #\
[Condition of type READER-ERROR]
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(LISP::%READER-ERROR
#<Two-Way Stream, Input = #<Synonym Stream to SYSTEM:*STDIN*>, Output =
#<Synonym Stream to SYSTEM:*STDOUT*>>
"illegal terminating character after a colon: ~S"
#\ )
Source:
; File: target:code/reader.lisp
(ERROR 'READER-ERROR :STREAM STREAM :FORMAT-CONTROL ...)
0]
Excuse the huge amount of data supplied. Any advice will be wellcome. And
thank you all in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20051213/d243e3ee/attachment.html>
More information about the Cmdist
mailing list