[OS X TeX] [MacTeX 2015] Cannot open Ghostscript for piped input
Se Fer
don.sefer at gmail.com
Thu Dec 10 20:01:12 CET 2015
I cannot run Ghostscript from the terminal. I get the error "-bash: gs:
command not found".
The symbolic link within /usr/local/bin already points to noX11: "gs ->
/usr/local/bin/gs-noX11"
So it's not an X11 problem then? Is there something else missing since the
command cannot be found?
If I type "sudo gs" I can see the output you mailed. I think there is some
kind of permission error. I cannot cd into the /usr/local/bin-Directory,
too, because of an permission error! Somehow everything is working in
texstudio (used it before) but not ghostscript!
Sefer
2015-12-10 18:41 GMT+01:00 Richard Koch <koch at uoregon.edu>:
> 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 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" ' 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
>
>
>
> ----------- 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: <http://tug.org/pipermail/macostex-archives/attachments/20151210/1ce93293/attachment.html>
More information about the macostex-archives
mailing list