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

Se Fer don.sefer at gmail.com
Thu Dec 10 23:55:50 CET 2015


Hey

I ran the command, too. Thanks for making this clear!

I am the first user and owner of this mac! I had some thoughts on
reformatting before. Guess I'll do this very soon!

Thanks again for your help and tips!
Sefer

2015-12-10 23:36 GMT+01:00 Herb Schulz <herbs at wideopenwest.com>:

> Howdy,
>
> Please also run
>
> sudo chown root:wheel /usr/local/bin
>
> since that is the way it should be.
>
> Did you remove the account of the initial owner of the system? With lots
> of errors from Disk Utility you should backup everything and reformat and
> reinstall the OS, etc. You're treading on dangerous ground.
>
> Good Luck,
> Herb Schulz
>
> On Dec 10, 2015, at 4:24 PM, Se Fer <don.sefer at gmail.com> wrote:
>
> I executed all commands listed in both mails and it indeed seems to be a
> permission error!
>
> sebastians-mbp:~ kupfer$ ls -alF /usr/local
>
> total 0
>
> drwxr-xr-x   8 root  wheel   272 10 Dez 15:48 ./
>
> drwxr-xr-x@ 11 root  wheel   374 10 Dez 15:49 ../
>
> drwx------  42 504   wheel  1428 10 Dez 15:49 bin/
>
> drwxr-xr-x   3 root  wheel   102 13 Jun 13:50 etc/
>
> drwxr-xr-x  10 root  wheel   340 13 Jun 14:01 git/
>
> drwxr-xr-x   3 root  wheel   102 13 Jun 13:50 lib/
>
> drwxr-xr-x   4 root  wheel   136 10 Dez 15:48 share/
>
> drwxr-xr-x   4 root  wheel   136 10 Dez 15:48 texlive/
>
> sebastians-mbp:~ kupfer$ ls -alF /usr/local/bin/gs
>
> ls: /usr/local/bin/gs: Permission denied
>
> sebastians-mbp:~ kupfer$ ls -alF /usr/local/bin/
>
> ls: : Permission denied
>
> sebastians-mbp:~ kupfer$ cd /usr/
>
> sebastians-mbp:usr kupfer$ ls -l local
>
> total 0
>
> drwx------  42 504   wheel  1428 10 Dez 15:49 bin
>
> drwxr-xr-x   3 root  wheel   102 13 Jun 13:50 etc
>
> drwxr-xr-x  10 root  wheel   340 13 Jun 14:01 git
>
> drwxr-xr-x   3 root  wheel   102 13 Jun 13:50 lib
>
> drwxr-xr-x   4 root  wheel   136 10 Dez 15:48 share
>
> drwxr-xr-x   4 root  wheel   136 10 Dez 15:48 texlive
>
> I ran the disk utility and there are way more errors than there should be
> (imho). Unfortunately it didn't fixed the wrong permissions for ./bin so I
> did it by myself. I guess there is an error in the installation script (I
> mean it asks for admin privileges) or it's parallels fault (cause there are
> some files inside this folder, too).
>
> I manually changed /usr/local/bin to 755 (drwxr-xr-x  42 504   wheel  1428
> 10 Dez 15:49 bin) and by accident /usr/bin, too but I guess this won't
> hurt? Atleast disk utility wasn't complaining after my heart attack-check
> :D ... Why is it owned by user 504 and what is it? I mean it's working, but
> weird.
>
> Now I can executed "gs" from anywhere and it's working and texstudio was
> able to compile the files! Texpad is now working, too and automatically
> detected the ghostscript install!
>
> Thanks for your help guys!
>
> 2015-12-10 21:07 GMT+01:00 Herbert Schulz <herbs at wideopenwest.com>:
>
>> > On Dec 10, 2015, at 11: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
>>
>> Howdy,
>>
>> It sounds like you have some execution bit permission error. Can we see
>> what
>>
>> ls -alF /usr/local
>>
>> and
>>
>> ls -alF /usr/local/bin/gs
>>
>> return?
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>>
>>
>>
>>
>>
>>
>>
>> ----------- 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
>
>
> ----------- 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/ba512734/attachment.html>


More information about the macostex-archives mailing list