[CM] CM Cmucl portmidi loading

Ken renueden@earthlink.net
Thu, 05 Oct 2006 18:36:00 -0700


I'm having a bit of trouble with realtime cm on ubuntu linux, namely 
with portmidi and rts.

I have installed the latest cvs of the following:
cm
rts
portmidi interface
cffi-062925

I have the following lisp:
cmucl 19c

Cmucl will not load the porttime library and ends with this error:
; loading system definition from
; /home/nunativs/sound/cm/system/portmidi/portmidi.asd into
; #<The ASDF5644 package>
;;; Loading #P"/home/nunativs/sound/cm/system/portmidi/portmidi.asd".
; registering #<SYSTEM :PORTMIDI {5A749F65}> as PORTMIDI
;;; Loading #P"/home/nunativs/sound/cm/system/portmidi/cffi-portmidi.x86f".

Unable to load foreign library: /usr/lib/libporttime.so
   [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

Restarts:
  0: [RETRY    ] Try loading the foreign library again.
  1: [USE-VALUE] Use another library instead.
  2: [CONTINUE ] Return NIL from load of 
#P"/home/nunativs/sound/cm/system/portm idi/cffi-portmidi.x86f".
  3: [RETRY    ] Retry performing #<ASDF:LOAD-OP NIL {58FDE695}> on
                 #<LIB-DEPENDANT-FILE "cffi-portmidi" {58F6575D}>.
  4: [ACCEPT   ] Continue, treating #<ASDF:LOAD-OP NIL {58FDE695}> on
                 #<LIB-DEPENDANT-FILE "cffi-portmidi" {58F6575D}> as
                 having been successful.
  5:             Return NIL from load of #P"home:.cminit.lisp".
  6:             Retry performing #<FINALIZE-OP NIL {587EE74D}> on
                 #<CM-APPLICATION "cm" {58A387CD}>.
  7:             Continue, treating #<FINALIZE-OP NIL {587EE74D}> on
                 #<CM-APPLICATION "cm" {58A387CD}> as having been 
successful.
  8:             Return NIL from load of 
"/home/nunativs/sound/cm/system/cm/src/ cm.lisp".
  9: [ABORT    ] Return to Top-Level.

Debug  (type H for help)

(CFFI::HANDLE-LOAD-FOREIGN-LIBRARY-ERROR "/usr/lib/libporttime.so"
                                         "Unable to load foreign 
library: ~A"
                                         "/usr/lib/libporttime.so")
Source:
; File: /home/nunativs/sound/cm/system/cffi-060925/src/libraries.lisp
(RESTART-CASE (ERROR 'LOAD-FOREIGN-LIBRARY-ERROR
                     :TEXT (FORMAT NIL "~?" CONTROL ARGUMENTS))
  (RETRY () :REPORT
    "Try loading the foreign library again."
    (LOAD-FOREIGN-LIBRARY ARGUMENT))
  (USE-VALUE (NEW-LIBRARY) :REPORT
    "Use another library instead."
    :INTERACTIVE
    READ-NEW-VALUE
    (LOAD-FOREIGN-LIBRARY NEW-LIBRARY)))
0]

The porttime library is indeed there.
Any help on where to start?

Ken