[CM] openmcl CLM load problem
Bret Battey
bbattey@u.washington.edu
Wed, 17 Mar 2004 21:51:00 -0800
I've moved to Rick's "all-in-one" CM/CLM/CMN/Openmcl app, and that is
working great for me so far.
However, while I am in the process of guinea pigging trying to get CLM
going on a brand new OSX -- and in case I need to run a newer version
of CLM than is in the combo-app -- maybe it is worthwhile continuing
the debug. Assuming I can get it to work, I'll wrap up the notes and
send them to Bill for inclusion in the OSX install notes. So...
Installing the X11-SDK takes care of the X11 issue (although I still
can't figure for the life of me why CLM would reference X11 headers!?).
Now there are two other errors:
Welcome to OpenMCL Version (Beta: Darwin) 0.14.1-p1!
? (load "/Applications/unix/clm-2-040316/all.lisp")
; Compiling "/Applications/unix/clm-2-040316/io.c"
; Compiling "/Applications/unix/clm-2-040316/headers.c"
; Compiling "/Applications/unix/clm-2-040316/audio.c"
; Compiling "/Applications/unix/clm-2-040316/sound.c"
; Compiling "/Applications/unix/clm-2-040316/lispcall.c"
; Compiling "/Applications/unix/clm-2-040316/sc.c"
; Compiling "/Applications/unix/clm-2-040316/cmus.c"
; Creating "/Applications/unix/clm-2-040316/libclm.dylib"
;;cc -dynamiclib -o /Applications/unix/clm-2-040316/libclm.dylib
/Applications/unix/clm-2-040316/lispcall.o
/Applications/unix/clm-2-040316/headers.o
/Applications/unix/clm-2-040316/audio.o
/Applications/unix/clm-2-040316/io.o
/Applications/unix/clm-2-040316/sound.o
/Applications/unix/clm-2-040316/cmus.o
/Applications/unix/clm-2-040316/sc.o -L/usr/X11R6/lib -lX11 -lm -lc
-framework CoreAudio
ld: can't locate file for: -ldylib1.o
/usr/bin/libtool: internal link edit command failed
;Compiling "/Applications/unix/clm-2-040316/walk.lisp"...
;Loading #P"/Applications/unix/clm-2-040316/walk.dfsl"...
;Compiling "/Applications/unix/clm-2-040316/clm-package.lisp"...
;Loading #P"/Applications/unix/clm-2-040316/clm-package.dfsl"...
;Compiling "/Applications/unix/clm-2-040316/initmus.lisp"...
;Loading #P"/Applications/unix/clm-2-040316/initmus.dfsl"...
> Error in process listener(1): Error opening shared library
"/Applications/unix/clm-2-040316/libclm.dylib": dyld:
/Applications/unix/ccl/dppccl can't open library:
/Applications/unix/clm-2-040316/libclm.dylib (No such file or
directory, errno = 2)
>
> While executing: OPEN-SHARED-LIBRARY
On Mar 17, 2004, at 2:44 PM, Rainer Keller wrote:
> You will need to install the X11 SDK, which is included in the
> Developer distribution. No need for X11 sources.
> And you can't do a finder search because the folder is hidden. But
> open terminal and cd to /usr/X11R6/include/X11 and you will see
> Xlib.h. Also capitalisation matters if you use find from the shell.
>
> Greetings
> Rainer
>
> On Wednesday, March 17, 2004, at 11:54 AM, Bret Battey wrote:
>
>> Out of curiosity, why *would* CLM need to access anything related to
>> X11?
>>
>> OSX .3 includes an X11 client binary -- though one has to customize
>> the system install to include it. But that doesn't necessarily mean
>> that it would have the X11 headers.
>>
>> On another machine I am looking at right now that has the OSX.3, the
>> X11 binary, and has a CLM version Oct 9 2003 compiled running
>> successfully on it, a search of the disk for x11.h returns nothing.
>>
>> I guess I'm going to have to download X11 sources, too, to make this
>> work? (Won't have a chance to try that until later today.)
>>
>> -=bret
>>
>> On Mar 17, 2004, at 6:30 AM, Bill Schottstaedt wrote:
>>
>>> If X11 has been installed, with the headers, then you need to add
>>> the directory to the PATH variable, or something like that. Where
>>> is X11/Xlib.h? You could add the path to the *cflags* setting
>>> in all.lisp under mac-osx -- currently it has -I/usr/X11R6/include.
>>> Someone sent me code to check that the X11 headers were accessible
>>> before trying to compile/load sc.c, but it got buried in my TODO
>>> list.
>>>
>>
>> _______________________________________________
>> Cmdist mailing list
>> Cmdist@ccrma.stanford.edu
>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>>
>