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 10:50:00 -0700
Thanks!
This is all just some at-home experimentation on my part, so the only
"user" is me :-) But that's good advice about distributing
applications and one's choice of libraries for building same.
I'll have a go at the manual install scheme for openmotif, and am
definitely considering converting entirely from fink to
MacPorts...just as soon as I can get Pallet running on 10.6.7 (yep,
I've submitted a report).
BTW, the application in question is Tony Della Ferra's original X10
xclock, ported to X11, and then enhanced with a Kit Kat
Clock-inspired display mode :-)
http://www.kit-cat.com/
Not sure if the kit-cat.com folks would consider distributing this to
be any sort of copyright violation :-)
At 10:35 AM -0700 3/30/11, Jeremy Huddleston wrote:
On Mar 30, 2011, at 9:58 AM, Philip J. Schneider wrote:
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...)
MacPorts will use its libraries (/opt/local) rather than XQuartz (/opt/X11).
If you want to redistribute this application, you may to use the
system libraries, so you don't need to tell users to install a "3rd
party" package. If you want your users to use XQuartz from
/opt/X11, you will need to either build openmotif by hand or you may
be able to tell fink to use /opt/X11 as the X11 prefix.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden