Re: /usr/X11 vs /opt/X11 on Mountain Lion
Re: /usr/X11 vs /opt/X11 on Mountain Lion
- Subject: Re: /usr/X11 vs /opt/X11 on Mountain Lion
- From: Tim Jenness <email@hidden>
- Date: Mon, 06 Aug 2012 10:21:27 -0700
On Mon, Aug 6, 2012 at 10:07 AM, Ken Thomases
<email@hidden> wrote:
On Aug 6, 2012, at 10:38 AM, Tim Jenness wrote:
> Can someone confirm for me that the only reason I still have a /usr/X11 in Mountain Lion is because I updated from Lion? If I did a fresh install of Mountain Lion would I only have /opt/X11 from xquartz?
No. The stuff in /usr/X11 is specific to Mountain Lion, but is not to be used. If a process loads any of the binaries from /usr/X11, it is terminated and a dialog is presented to the user instructing them to install XQuartz. So, those binaries are there specifically to help the user transition from an OS-supplied X11 to XQuartz.
Thanks. That's interesting (and I have seen that "install XQuartz" popup) but even more interesting is that autoconf configure (unsurprisingly) is using /usr/X11/lib and linking with that but otool is reporting that it's picking up the libraries from /opt/X11 at runtime.
The implication is I don't really have to fix my AC_PATH_XTRA autoconf macro to look for /opt/X11 in preference to /usr/X11 until next year's OSX is out.
PS do you expect binaries built on ML with current unix developer tools to run on lion? If I copy a binary across I get an immediate crash with Illegal Instruction. I'm a bit surprised that ML binaries seem to be completely incompatible with Lion (using clang 4 in both cases). Lion binaries ran on snow leopard.
--
Tim Jenness
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden