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

Richard Koch koch at math.uoregon.edu
Thu Sep 18 13:18:02 EDT 2014


Ettore,

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


OR


	/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: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20140918/f4b7827b/attachment.html>


More information about the MacOSX-TeX mailing list