[PlanetCCRMA] linux-port of OpenMusic

Donald Steven t6sn7gt at aim.com
Sat Nov 2 12:12:37 PDT 2013


Thanks Anders.

I followed the instructions. I copied all of the resources/lib/linux 
lib* files (and the links -- maybe I shouldn't have?) to /usr/lib and 
linked the OM_6.7_beta_4/OM_6.7_beta_4 to /usr/local/bin/openmusic.  It 
started up OK, but died showing:

"could not load foreign-library libsndfile"
"could not load foreign-library libjack" Wrote error log to 
/home/das/logs/OpenMusic/OM-6-7_beta_4-Log_2013-11-02_15-04-36 at 
2013/11/02 15:04:36

The log file is as follows:

===   Log at 2013/11/02 15:12:04  ===

An error occured : Foreign function 
CL-JACK::|%cffi-foreign-function/JACK-CLIENT-OPEN| trying to call to 
unresolved external function "jack_client_open".

PRODUCT CONFIGURATION:

   LispWorks 6.1.1

Process name: /usr/local/bin/openmusic
    ID: 3964    Started at: 2013/11/02 15:12:01

Save history:

1: lispworks-6-1-0-0-x86-linux-release-base
Saved by davef as lispworks-6-1-0-0-x86-linux-release-base, at 03 Nov 
2011 13:25

2: lispworks-6-1-0-0-x86-linux-release-gtk-shaken
Saved by davef as lispworks-6-1-0-0-x86-linux-release-gtk-shaken, at 03 
Nov 2011 14:00

3: lispworks-6-1-0-0-x86-linux-release-gtk-shaken
Saved by davef as lispworks-6-1-0-x86-linux, at 10 Jan 2012 17:32
LispWorks 6.1.0

4: lispworks-6-1-1-0-x86-linux-release-gtk-shaken
Saved by andersvi as lw-noenv-6.1, at 06 Feb 2013 15:32

5: lispworks-6-1-1-0-x86-linux-release-gtk-shaken
Saved by andersvi as OM_6.7_beta_4, at 29 Oct 2013 14:21
Saved by DELIVER

Loaded Modules:  "delivery", "delivery-keywords", "CLENI",
   "CL-FLUIDSYNTH", "CL-JACK", "OSC", "comm", "asdf", "CFFI", "ASDF"

Public patches:  PATCH-ITSELF 1.5, CAPI-GTK 1.8, CAPI 1.23,
   COMPILER 1.5, EDITOR 1.14, FULL 1.7, MP 1.10, SYSTEM32 1.3,
   SYSTEM 1.17, COMM 1.5, DELIVERY 1.2, ORACLE 1.0, CORBA-SUPPORT 1.0

Foreign modules:
   #<FLI::INTERNAL-MODULE :LISP : exports = 0>
   #<FLI::INTERNAL-MODULE :CALLBACKS : exports = 0>
   #<FLI::EXTERNAL-MODULE "-lGL"  {/lib/libGL.so.1}: handle = 
#xF62068F8; exports = 0>
   #<FLI::EXTERNAL-MODULE "-lGLU"  {/lib/libGLU.so.1}: handle = 
#xF624D000; exports = 0>
   #<FLI::EXTERNAL-MODULE "-lgthread-2.0" {/lib/libgthread-2.0.so.0}: 
handle = #xF62004A0; exports = 15>
   #<FLI::EXTERNAL-MODULE "-lgtk-x11-2.0" {/lib/libgtk-x11-2.0.so.0}: 
handle = #xF6200FF0; exports = 152>
   #<FLI::EXTERNAL-MODULE |libsndfile|::LIBSNDFILE  : handle = 
#x00000000; exports = 0>
   #<FLI::EXTERNAL-MODULE CL-JACK::LIBJACK  : handle = #x00000000; 
exports = 0>

Signal Handlers
2       SYSTEM::SIGINT-HANDLER
10      MP::CALL-BREAK-OF-MP
12      MP::PANIC
13      SYSTEM::THE-NULL-FUNCTION
17      SYSTEM::GET-CHILDREN-INF
29      SYSTEM::THE-NULL-FUNCTION

HOST CONFIGURATION:

   localhost.localdomain (x86_64), Linux 3.11.4-101.fc18.x86_64
   Fedora release 18 (Spherical Cow)
   Kernel \r on an \m (\l)

LWSerialNumber: LWPRO0610021302309345

Site: Unknown

GTK+ library versions:
   glib 2.34.2
   pango 1.32.3
   gtk 2.24.19
   gdk-pixbuf 2.26.5
   atk 2.6.0
   cairo 1.12.14

Backtrace:
#<The COMMON-LISP-USER package, 1753/2048 internal, 8/16 external>
#<MP:PROCESS Name "Initial delivery process" Priority 0 State "Running">



Call to OM-API::OM-DEBUGGER-HOOK {offset 354}
   CONDITION                 : #<SIMPLE-ERROR 24A292AB>
   OM-API::OLD-DEBUGGER-HOOK : :DONT-KNOW
   LOG                       : T
   OM-API::LOGPATH           : 
#P"/home/das/logs/OpenMusic/OM-6-7_beta_4-Log_2013-11-02_15-12-04"

Binding frame:
   *DEBUGGER-HOOK* : OM-API::OM-DEBUGGER-HOOK

Tag environment contour:
Function environment contour
Block environment contour: (CL-JACK::CL-JACK-INIT-EVERYTHING)
Variable environment contour: ()
Call to DBG::DEBUG1 {offset 224}
   DBG::DATUM     : #<SIMPLE-ERROR 24A292AB>
   DBG::ARGUMENTS : NIL

Binding frame:
   MP::*PROCESSING-INTERRUPTS* : NIL
   *EVALHOOK*                  : NIL

Call to INVOKE-DEBUGGER {offset 213}
   CONDITION : #<SIMPLE-ERROR 24A292AB>

Binding frame:
   CONDITIONS::*BROKEN-ON-SIGNALS* : NIL

Call to ERROR {offset 67}
   SYSTEM::ESTRING : "Foreign function ~S trying to call to unresolved 
external function ~S."
   SYSTEM::EARGS   : (CL-JACK::|%cffi-foreign-function/JACK-CLIENT-OPEN| 
"jack_client_open")

Call to CL-JACK::|%cffi-foreign-function/JACK-CLIENT-OPEN| {offset 354}
   #:G169710        : #<Pointer to type :BYTE = #xF6245FF0>
   #:G169711        : 0
   #:G169712        : 0
   SYMBOL           : #<FLI::EXTERNAL-SYMBOL "jack_client_open" : addr = 
#x00000000>
   FLI::RAW-ADDRESS : :DONT-KNOW

Catch frame: #<Unbound Marker>

Call to CL-JACK::JACK-CLIENT-OPEN {offset 113}
   CL-JACK::NAME      : "CLJack"
   CL-JACK::OPTION    : 0
   CL-JACK::STATUS    : 0
   DBG::G             : #<Pointer to type :BYTE = #xF6245FF0>
   DBG::PARAM         : T
   DBG::|m-v-b-&rest| : :DONT-KNOW

Call to CL-JACK::CL-JACK-INIT-MIDI {offset 385}

Interpreted call to CL-JACK::CL-JACK-INIT-EVERYTHING:

Block environment contour: (INIT-OM)
Tag environment contour:
Function environment contour
Variable environment contour: ()
Call to OM-API:OM-INIT-FUNCALL {offset 160}
   DBG::G    : (|libsndfile|::INIT-LIBSNDFILE 
CL-JACK::CL-JACK-INIT-EVERYTHING CL-FLUIDSYNTH::CL-FLUID-INIT-FLUIDSYNTH 
|OpenMusic|::INIT-OM-COLOR-VARS |OpenMusic|::INIT-OM-FONTS-VARS 
|OpenMusic|::INIT-CURS |OpenMusic|::INIT-ICON-FOLDER 
|OpenMusic|::INIT-ALL-PICT |OpenMusic|::INIT-OMLIB-DIRECTORY 
|OpenMusic|::INIT-APP-MENU |OpenMusic|::INIT-PREFERENCES 
|OpenMusic|::INIT-OM-PREF-COLOR |OpenMusic|::INIT-D&D-HANDLER 
|OpenMusic|::SET-REF-DIR |OpenMusic|::INIT-MUSIC-PICT 
|OpenMusic|::CREATE-SCORE-CURSORS |OpenMusic|::INIT-MIDISETUP 
|OpenMusic|::INIT-JACK-MIDI-PLAYER |OpenMusic|::INIT-CERCLE-CURSOR 
|OpenMusic|::INIT-JACK-AUDIO-PLAYER |OpenMusic|::INIT-MPLAYER-APP 
|OpenMusic|::INIT-SDIF-LIB)
   DBG::G    : (CL-JACK::CL-JACK-INIT-EVERYTHING 
CL-FLUIDSYNTH::CL-FLUID-INIT-FLUIDSYNTH |OpenMusic|::INIT-OM-COLOR-VARS 
|OpenMusic|::INIT-OM-FONTS-VARS |OpenMusic|::INIT-CURS 
|OpenMusic|::INIT-ICON-FOLDER |OpenMusic|::INIT-ALL-PICT 
|OpenMusic|::INIT-OMLIB-DIRECTORY |OpenMusic|::INIT-APP-MENU 
|OpenMusic|::INIT-PREFERENCES |OpenMusic|::INIT-OM-PREF-COLOR 
|OpenMusic|::INIT-D&D-HANDLER |OpenMusic|::SET-REF-DIR 
|OpenMusic|::INIT-MUSIC-PICT |OpenMusic|::CREATE-SCORE-CURSORS 
|OpenMusic|::INIT-MIDISETUP |OpenMusic|::INIT-JACK-MIDI-PLAYER 
|OpenMusic|::INIT-CERCLE-CURSOR |OpenMusic|::INIT-JACK-AUDIO-PLAYER 
|OpenMusic|::INIT-MPLAYER-APP |OpenMusic|::INIT-SDIF-LIB)
   OM-API::X : CL-JACK::CL-JACK-INIT-EVERYTHING

Interpreted call to INIT-OM:

Block environment contour:
Tag environment contour:
Function environment contour
Variable environment contour: ()
Call to DELIVERY::MAYBE-RYB-TOP-LEVEL {offset 242}
   DELIVERY::OLD-RESTART  {Closed} : INIT-OM

Catch frame: MP::PROCESS-TAG

Catch frame: (MP::PROCESS-SG-FUNCTION . 1)

Catch frame: (MP::PROCESS-SG-FUNCTION . 1)

Binding frame:
   MP:*CURRENT-PROCESS* : NIL

Binding frame:
   MP::*ACTIONS-AFTER-SLEEPING* : NIL

Binding frame:
   MP::*ACTIONS-BEFORE-SLEEPING* : NIL

Binding frame:
   SYSTEM::*READER-STATE* : #<SYSTEM::READER-STATE In 0 out 19 201C3FE7>

Binding frame:
   *PACKAGE* : #<The COMMON-LISP-USER package, 1753/2048 internal, 8/16 
external>

Binding frame:
   SYSTEM::*SELECT-DUMMY* : NIL

Binding frame:
   LWGTK::*GDK-LOCK-DEPTH* : 1

Binding frame:
   EDITOR::*CURRENT-BUFFER* : NIL

Binding frame:
   EDITOR::*CURRENT-WINDOW* : NIL

Binding frame:
   EDITOR::*EDITOR-STATE* : NIL

Binding frame:
   EDITOR::*EDITOR-INPUT-STYLE* : #S(EDITOR:EDITOR-INPUT-STYLE 
:KEY-BINDINGS #<EDITOR::KEY-TABLE #<EQUALP Hash Table{343} 20E7E71F> 1 
342> :DELETE-SELECTION-MODE NIL :LOGICAL-CHARACTERS #<EQUALP Hash 
Table{22} 20E4E7AF> :EXECUTE-MODE #<EDITOR::MODE-OBJECT "Execute" 
211C747B> :ECHO-MODE #<EDITOR::MODE-OBJECT "Echo Area" 211C7013> :PLIST 
NIL :INTERRUPT-KEYS (#S(SYSTEM::GESTURE-SPEC :DATA 103 :MODIFIERS 2) 
#S(SYSTEM::GESTURE-SPEC :DATA 71 :MODIFIERS 2)) :STYLE :EMACS 
:POINT-ALWAYS-VISIBLE T :USE-FACE-TO-FULL-WIDTH-P T)

Binding frame:
   CAPI::*USE-ACCELERATORS* : T

Catch frame: #:|progv-cathcer240428|

Call to MP::PROCESS-SG-FUNCTION {offset 555}
   MP::STACK-ARG : 0
   MP::SYMBOLS   : NIL
   VALUES        : NIL

Call to SYSTEM::%%FIRST-CALL-TO-STACK {offset 41}


SYSTEM::%%FIRST-CALL-TO-STACK

  Generation 0:  Total Size 4649K, Allocated 3847K, Free 793K
           Segment 20090128: Total Size 507K, Allocated 294K, Free 208K
                     minimum free space 64K,
                       Awaiting promotion = 0K, sweeps before promotion =10
           Segment 246D4B68: Total Size 4141K, Allocated 3552K, Free 584K
                     minimum free space 0K,
                       Awaiting promotion = 15K, sweeps before promotion =2
  Generation 1:  Total Size 692K, Allocated 383K, Free 296K
           Segment 2070F0C0: Total Size 68K, Allocated 15K, Free 48K
                     minimum free space 3K,
                       Awaiting promotion = 0K, sweeps before promotion =4
           Segment 1FFA0000: Total Size 384K, Allocated 193K, Free 186K
                     minimum free space 0K, static
           Segment 200540A8: Total Size 240K, Allocated 174K, Free 61K
                     minimum free space 0K, static
  Generation 2:  Total Size 68K, Allocated 0K, Free 64K
           Segment 20F1C640: Total Size 68K, Allocated 0K, Free 64K
                     minimum free space 117K,
                       Awaiting promotion = 0K, sweeps before promotion =4
  Generation 3:  Total Size 71310K, Allocated 71170K, Free 128K
           Segment 2010F0C0: Total Size 6144K, Allocated 6139K, Free 0K
                     minimum free space 3K,
                       Awaiting promotion = 0K, sweeps before promotion =10
           Segment 20F2D6B8: Total Size 56989K, Allocated 56857K, Free 128K
                     minimum free space 0K,
                       Awaiting promotion = 0K, sweeps before promotion =10
           Segment 20720138: Total Size 8177K, Allocated 8173K, Free 0K
                     minimum free space 0K,
                       Awaiting promotion = 0K, sweeps before promotion =10

Total Size 77056K, Allocated 75400K, Free 1282K

++++++++++++++++++++++++++++++++++++++++

On 10/28/2013 03:13 PM, anders.vinjar at bek.no wrote:
> Hi all.
>
> Ive been working on a linux-port of IRCAMs OpenMusic lately, and think
> its approaching a useful state now.
>
> I would very much appreciate it if some of the brave ones out there did
> some testing and sent me feedback:
>
>    http://forge.ircam.fr/p/OM6/downloads/label/421/
>
> The tarball you'll find there includes the OM-6.7 image, source code, a
> README and the various resources it uses (.so's, libs, fonts, icons,
> help-files, tutorials, other).
>
> This beta is not prepared to be installed anywhere, only to be run from
> inside the directory where you unpack it (type ./OM_6.7_beta_4 ... ).
> Plan is to make an installable version once the dust settles some.
>
> Theres one thing which needs installing to work however, the music-fonts
> used in the various editors and factories etc.  Theres an .rpm here:
>
>    http://forge.ircam.fr/p/OM6/downloads/get/omfonts-1.0-1.noarch.rpm.zip
>
> - which hopefully takes care of the fonts (theyre also available for
> manual install in the tarball).  The .rpm installs them (4 .ttf-files)
> inside its own folder /usr/share/fonts/omfonts/*
>
> The present version uses JACK for audio + midi I/O, and will try to
> start a JACK server if its not already running.
>
> To get any sound from the usual midi-ports, the linux-port uses
> libfluidsynth, and attempts to load one of the standard soundfonts into
> it.  However you should be able to route midi-output to any client you
> prefer (with jack-midi support).
>
> Thanks for any feedback.
>
> Cheers,
>
> -anders
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma



More information about the PlanetCCRMA mailing list