Re: openmotif in macports dependencies and xquartz?
Re: openmotif in macports dependencies and xquartz?
- Subject: Re: openmotif in macports dependencies and xquartz?
- From: "Philip J. Schneider" <email@hidden>
- Date: Wed, 30 Mar 2011 09:58:45 -0700
Ahh...with your input, and a little more thinking...
Yeah, when fink builds its version of motif, surely it must be
looking at the system libs and includes from /usr/X11, on which it
depends. Then, when I build my application I'm telling it to utilize
what's in /opt/X11. Not surprising, then, that a crash would ensue,
right?
Seems that what I need is a motif lib that's been built with the same
includes/libs as what I intend to build the application with.
Probably not sensible to try to get fink to do that, but instead do
what you suggest and use MacPorts.
One question: if I download and build openmotif from MacPorts, will
it automatically choose to use xquartz (/opt/X11) in its include/lib
paths? I'd guess not, so what's the scheme for having it do so?
(sorry, experienced programmer but n00b MacPorts user...)
Thanks!
At 6:45 PM -0700 3/29/11, Jeremy Huddleston wrote:
On Mar 29, 2011, at 4:16 PM, Philip J. Schneider wrote:
Hey Folks -
I've got an antique X11 app that uses Motif. As of now, Motif
comes from fink. I've found that if I build the application using
xquartz-provided libs and includes, the application crashes.
Do you have a crash report you can show me?
If, however, I build the app with the fink-provided Motif and the
system X11 includes and libs, it works correctly. Methinks there
are some version or build-related issues...
My guess is that you are not using the libraries you think you are.
My bet is that part of your application is using libraries from
/opt/X11/lib and other parts are using libraries from /usr/X11/lib,
and they are passing data between them that shouldn't be.
I'm thinking that perhaps discretion is the better part of valor,
and try to use the macports-provided openmotif. That port has a
number of dependencies that overlap what's already in /opt/X11 (the
xquartz stuff). Would it be best just to use the xquartz
includes/libs that are already present, and just install the libs
that openmotif needs that aren't already provided by xquartz?
I would either just install openmotif manually to use /opt/X11 or
use MacPorts. Instaling from fink will cause it to use /usr/X11 ...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden