Re: Motif on OS X
Hi,
On Mon, 31 Jan 2005 23:28:07 -0500, John DeSoi <desoi@pgedit.com> wrote:
> I'm trying to run with Motif on OS X. I installed OpenMotif 2.2.3 and
> did the default configure/make/make install. I get the error below.
>
> I also have OpenMotif installed with fink. I found libXm.2.dylib in
> /sw/lib and created a link to it in /usr/local/lib just for fun.
> LispWorks seems to start and run OK, but then I frequently get an error
> "Unable to convert :DEFAULT into an XID" seemingly related to changing
> the cursor.
>
> Anyone successfully using LWM 4.4 with Motif?
>
I have managed to use LW 4.4 Professional with OpenMotif under OS X,
after having tried to make it work with fink (unsuccessfully).
I did a manual install (making sure to change the default prefix to
the one expected by LW, using ./configure, as '/usr/local/lib' is no
longer the default installation directory ), and made a link named
'libXm.2.dylib' to the version of libXm.*.dylib that comes with the
latest OpenMotif.
I don't have my mac with me, so the exact details are a bit hazy. Sorry ;-)
I haven't encountered the error you report (viz. "Unable to convert
:DEFAULT into an XID"), even after several hours at a stretch.
However, I don't use the Motif interface very often, so there may be
circumstances under which it may happen. Can you comment on how
frequently this error occurs, or if you've found some way to
systematically reproduce it?
Rgds,
--J.
> =====
> Error: Could not register handle for external module
> X-UTILITIES::CAPIX11:
> dyld: ./lispworks-4-4-0-darwin-motif can't open library:
> /usr/local/lib/libXm.2.dylib (No such file or directory, errno = 2)
> .
> 1 (abort) Abort initialization.
>
> Type :b for backtrace, :c <option number> to proceed, or :? for other
> options
>
> CL-USER 1 : 1 > :b
> Call to ERROR
> Call to FLI::CREATE-EXTERNAL-MODULE
> Call to FLI:REGISTER-MODULE
> Call to X-UTILITIES::LOAD-X11-MOTIF-LIBRARIES
> Call to X-UTILITIES::DO-ENSURE-MOTIF-LIBRARIES
> Call to X-UTILITIES:ENSURE-MOTIF-LIBRARIES
> Call to (METHOD CAPI-LIBRARY:LIBRARY-READY-TO-START ((EQL :MOTIF)))
> Call to CAPI-INTERNALS:START-ENVIRONMENT
> Call to LISPWORKS-TOOLS:START-LISPWORKS
> Call to ENVIRONMENT::START-CAPI-ENVIRONMENT
> Call to (METHOD ENVIRONMENT-INTERNALS:ENVIRONMENT-START
> (ENVIRONMENT::CAPI-ENVIRONMENT))
> Call to ENVIRONMENT:START-ENVIRONMENT
>
> =====
>
> Error: Unable to convert :DEFAULT into an XID.
> 1 (abort) Return to event loop.
>
> Type :b for backtrace, :c <option number> to proceed, or :? for other
> options
>
> CL-USER 1 : 1 > :b
> Call to ERROR
> Call to X-LIBRARY:X-INTERFACE-ERROR
> Call to X-LIBRARY:X-DEFINE-CURSOR
> Call to (METHOD CAPI-MOTIF-LIBRARY::PANE-RESTORE-CURSOR
> (CAPI-MOTIF-LIBRARY::PAN
> E-REPRESENTATION))
> Call to (SUBFUNCTION CAPI::APPLY-TO-IMMEDIATE-CHILD (METHOD
> CAPI:MAP-PANE-DESCEN
> DANT-CHILDREN (CAPI::PANE-WITH-CHILDREN T)))
> Call to (METHOD CAPI:MAP-PANE-CHILDREN (CAPI:LAYOUT T))
> Call to (METHOD CAPI:MAP-PANE-DESCENDANT-CHILDREN
> (CAPI::PANE-WITH-CHILDREN T))
> Call to (SUBFUNCTION CAPI::APPLY-TO-IMMEDIATE-CHILD (METHOD
> CAPI:MAP-PANE-DESCEN
> DANT-CHILDREN (CAPI::PANE-WITH-CHILDREN T)))
> Call to (METHOD CAPI:MAP-PANE-DESCENDANT-CHILDREN
> (CAPI::PANE-WITH-CHILDREN T))
> Call to (METHOD CAPI-MOTIF-LIBRARY::INTERFACE-RESTORE-CURSORS
> (CAPI-MOTIF-LIBRAR
> Y::INTERFACE-REPRESENTATION))
> Call to CAPI::UNDO-SWITCH-TO-BUSY-CURSORS
> Call to CAPI::FINISH-WITH-DELAYED-BUSY-INTERFACE
> Call to CAPI::EXECUTE-CALLBACK
> Call to (METHOD MP:GENERAL-HANDLE-EVENT (CONS))
> Call to CAPI-INTERNALS:LOOP-PROCESS-EVENTS
> Call to CAPI::INTERFACE-EVENT-LOOP
> Call to (SUBFUNCTION CAPI::DEFAULT-TOP-LEVEL
> CAPI::INITIALIZE-AND-PROCESS-EVENTS
> )
> Call to CAPI::INITIALIZE-AND-PROCESS-EVENTS
> Call to (SUBFUNCTION 1 CAPI::CALL-AND-PROCESS-EVENTS)
> Call to (METHOD CAPI-LIBRARY:INTERFACE-PROCESS-WRAPPER
> (CAPI-MOTIF-LIBRARY::SCRE
> EN-REPRESENTATION T T))
> Call to (SUBFUNCTION MP::PROCESS-SG-FUNCTION
> MP::INITIALIZE-PROCESS-STACK)
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
>
>