[OS X TeX] [MacTeX 2015] Cannot open Ghostscript for piped input

Richard Koch koch at uoregon.edu
Thu Dec 10 12:41:27 EST 2015


Can you run Ghostscript from the Terminal? Open Terminal in /Applications/Utilities
and at the prompt, type

	gs

You should see

	GPL Ghostscript 9.16 (2015-03-30)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

If not the problem could be interaction between X11 and Ghostscript. MacTeX
actually installs two binaries named gs-X11 and gs-noX11. The gs file is just
a link to one of these binaries. 

If you upgrade OS X, in some cases X11 is removed. Then gs-X11 can no longer
run. There are two solutions:

	a) Install X11 by using Google to go to the download spot (no longer Apple)

OR

	b) Rewrite the symbolic link /usr/local/bin/gs to point to gs-noX11.


Dick Koch


> On Dec 10, 2015, at 9:33 AM, Se Fer <don.sefer at gmail.com> wrote:
> 
> Hello all
> 
> hope I can find some help here. I have an (now again) fresh installation of MacTeX 2015 running on OS X Yosmite. I haven't installed any other version of ghostscript but the MacTeX-package. 
> 
> I removed everything on my drive today to start fresh because I am not able to fix the following error:
> 
> "Error: Cannot open Ghostscript for piped input"
> 
> Complete error as an example:
> 
> "epstopdf ($Id: epstopdf.pl <http://epstopdf.pl/> 36129 2015-01-24 00:30:11Z karl $) 2.23 !!! Error: Cannot open Ghostscript for piped input: gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=pic/webrtc-triangle-eps-converted-to.pdf -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages#/None - -c quit"
> 
> Both texpad and TeXstudio can't find a valid ghostscript installation and their fields are blank. I tried adding the following command to the Ghostscript-field within TeXstudio  ' "/usr/local/bin/gs "?am.ps <http://am.ps/>" ' but it doesn't fix the error.
> 
> Running "which gs" in terminal gives no output. But running "sudo which gs" I get the following output: "/usr/local/bin/gs" ...
> It looks like everything is in place according to the file structure given from the package-file.
> 
> Yours faithfully
> Sefer
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20151210/1cb22292/attachment.html>


More information about the MacOSX-TeX mailing list