[OS X TeX] Install fail

Ettore Aldrovandi ealdrov at math.fsu.edu
Thu Sep 3 04:08:48 CEST 2015


John has answered that the file /etc/paths.d/TeX contains the line /Library/TeX/texbin. 

So the question is why that file doesn’t get read. The files in /etc/paths.d are read by /usr/libexec/path_helper, which is called by /etc/csh.login (for csh) or /etc/profile (bash and ksh) or /etc/zshenv (for zsh).

Which files should have been edited? Those under /etc? That’s possible but unlikely. There could be some other .file lingering somewhere that we don’t know about. One possibility is .tcshrc. 

It’s possible tcsh does NOT read /etc/csh.login if it’s not a login shell. In that case path_helper would not be called, and the environment gets read from another dot file. In that case, I agree with you, it would be better to switch to a more predictable shell. (I remember 10.1, which in BSD semi-orthodoxy used tcsh, had a very baroque system of initialization files. Hopefully we are not dealing with a leftover of that!)

Hopefully we will know soon.


> On Sep 2, 2015, at 21:47, Herb Schulz <herbs at wideopenwest.com> wrote:
> Howdy,
> The problem isn't Fink in this case. Even though the TeX file in /etc/paths.d has /Library/TeX/texbin the $PATH or $path still have /usr/texbin. This suggests that the file in /paths.d wasn't read; they were edited. My only real suggestion, if they were edited, is to edit them again and replace /usr/texbin by /Library/TeX/texbin in those files. I don't know how the system determines if the files have been edited. 
> Good Luck,
> Herb Schulz
>> On Sep 2, 2015, at 8:24 PM, Ettore Aldrovandi <ealdrov at mail.math.fsu.edu> wrote:
>> The files in /etc should not have been edited. Fink is not known for editing or changing anything outside /sw. In theory the tcsh should read /etc/paths.d via /usr/libexec/path_helper called by /etc/csh.login (just like bash or zsh for the other family of initialization files). 
>> I asked John to check if there is a .tcshrc file in $HOME. 
> ----------- 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5266 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20150902/c471070f/attachment.bin>

More information about the macostex-archives mailing list