[OS X TeX] Yosemite install broke LaTeXiT (and Ghostscript)

Richard Koch koch at math.uoregon.edu
Thu Sep 18 19:18:02 CEST 2014


I agree with everything you wrote below. I've quoted key points:

On Sep 17, 2014, at 5:01 PM, Ettore Aldrovandi <ealdrov at mail.math.fsu.edu> wrote:

> Does MacTeX check for /usr/X11/bin/X?
>> What Apple installs is a stub, as far as I know, and it has been for a while—mountain lion, perhaps? This should have happened with earlier upgrades, say to Mavericks. Does the Apple installer remove Xquartz?  Xquartz lives in /opt but it installs symlinks under /usr.
> —Ettore
> Ettore Aldrovandi
> Department of Mathematics, Florida State University

As you say, this change occurred earlier, maybe with Mountain Lion. I installed Yosemite on
a blank disk, so I don't know if it removes XQuartz.

Since Apple replaces X11 with a stub, MacTeX cannot test whether X11 is present by looking for the
X11 binary directly. I remember falling into that trap, and catching myself before releasing anything.
I just looked at the code in postinstall, and it is sort of baroque. I threw everything including
the kitchen sink at the problem. According to the current code, gs --> gs-X11 only if the processor is
Intel and either

	 /usr/X11R6/bin/X exists and is not a link


	/usr/X11R6/bin/X exists and is a link,  but the name of the linked file is not "xstub"

Dick Koch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20140918/f4b7827b/attachment.html>

More information about the macostex-archives mailing list