[OS X TeX] Install fail
John Burt
burt at brandeis.edu
Thu Sep 3 16:45:59 CEST 2015
Ettore, Herb, thank you so much for all your help with this mystery.
Here are some answers to your questions
1. I don't have .tcshrc in my home directory.
2. I do have csh.login, and this is its content:
# System-wide .login file for csh(1).
setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin"
## TeX added /usr/texbin start at Thu Jan 21 10:53:41 EST 2010
## Do not remove the previous line
if ("${uid}" != "0") then
set path = ( ${path} "/usr/texbin" )
endif
## Do not remove the next line
## TeX added /usr/texbin end at Thu Jan 21 10:53:41 EST 2010
## setloginpath added /usr/local/bin start at Tue Sep 1 12:54:10 EDT 2015
## Do not remove the previous line
if ("${uid}" != "0") then
set path = ( ${path} /usr/local/bin )
endif
## Do not remove the next line
## setloginpath added /usr/local/bin end at Tue Sep 1 12:54:10 EDT 2015
3. I do have profile, and this is its content:
# System-wide .profile for sh(1)
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
## TeX added /usr/texbin start at Thu Jan 21 10:53:41 EST 2010
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/texbin"
export PATH
fi
## Do not remove the next line
## TeX added /usr/texbin end at Thu Jan 21 10:53:41 EST 2010
## setloginpath added /usr/local/bin start at Tue Sep 1 12:54:10 EDT 2015
## Do not remove the previous line
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/bin"
export PATH
fi
## Do not remove the next line
## setloginpath added /usr/local/bin end at Tue Sep 1 12:54:10 EDT 2015
with much thanks!
John
On Wed, Sep 2, 2015 at 10:08 PM, Ettore Aldrovandi <
ealdrov at mail.math.fsu.edu> wrote:
> Herb,
>
> 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.
>
> —E
>
> > 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
> >
>
>
> ----------- 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/20150903/135f6646/attachment.html>
More information about the macostex-archives
mailing list