Re: openmotif in macports dependencies and xquartz?
Re: openmotif in macports dependencies and xquartz?
- Subject: Re: openmotif in macports dependencies and xquartz?
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 30 Mar 2011 10:35:04 -0700
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