Lisp HUG Maillist Archive

Motif on OS X

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?

=====
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


Re: Motif on OS X

Hey,

What might not hurt to try is to uninstall OpenMotif, and try using LessTif.  I
do recall on at least one (Linux) system that while OpenMotif had trouble with
LispWorks, LessTif worked.  I never figured out why that was the case, and I
don't know if this will generalize to MacOSX/Fink.  But it may be worth a try.

dave

--- 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?
> 
> =====
> 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
> 
> 


Re: Motif on OS X

Hi Dave,

On Feb 1, 2005, at 11:32 AM, Dave Bakhash wrote:

> What might not hurt to try is to uninstall OpenMotif, and try using 
> LessTif.  I
> do recall on at least one (Linux) system that while OpenMotif had 
> trouble with
> LispWorks, LessTif worked.  I never figured out why that was the case, 
> and I
> don't know if this will generalize to MacOSX/Fink.  But it may be 
> worth a try.

I would be interested in trying this if I can figure out how to 
uninstall it. make install generated over 1600 lines of output. This is 
why I really wanted to use the fink version rather than compiling it 
myself. Let me know if there is some kind of make uninstall command I 
don't know about.

Thanks,

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


Re: Motif on OS X

Dave Bakhash <dave@portusgroup.com> writes:

> do recall on at least one (Linux) system that while OpenMotif had trouble with
> LispWorks, LessTif worked.  

Hmm, while I won't object to giving this a try, my personal experience
(mainly with Debian) is that lesstif always has some degree of
incompatibility with LW, while OpenMotif generally works.

(e.g. (setf (text-input-pane-caret-position x) ...) is really annoying
 with lesstif, it works as if you supplied (1- x) with all lesstif
 versions I've tried)
-- 
  (espen)


Re: Motif on OS X

Unable to parse email body. Email id is 3504

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
> 
>


Updated at: 2020-12-10 08:53 UTC