[OS X TeX] problem using /opt/local instead of /usr/local/
Christopher Brewster
C.Brewster at dcs.shef.ac.uk
Thu Sep 11 14:28:57 CEST 2008
I am using bash.
I tried logging out and back in as Pete suggested. To no avail.
What I have realised is that my $PATH has nothing to do with what is
in my ~/.profile file:
christopher-brewsters-macbook-pro-15:~ kiffer$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/
bin:/usr/local/git/bin:/usr/local/git/bin/:/usr/local/bin:/usr/texbin
While my .profile file has the following:
---
PATH=/usr/local/Trolltech/Qt-4.3.3/bin:$PATH
export PATH
export PATH=/usr/local/texlive/2007/bin/:$PATH
export PATH=/usr/local/graphviz/bin:$PATH
GROOVY_HOME=/Users/kiffer/Library/groovy-1.5.6
export GROOVY_HOME
PYTHONPATH=/System/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages
export PYTHONPATH
# Setting PATH for MacPython 2.5
# The orginal version is saved in .profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH
---
Where is my $PATH controlled from then?
Christopher
On 11 Sep 2008, at 13:13, Peter Dyballa wrote:
Am 11.09.2008 um 13:32 schrieb Christopher Brewster:
> Changes I make to ~/.profile appear to have no effect on where latex
> is called.
Are you using a different shell than bash?
If bash is your login shell:
• did you launch TextMate anew after you changed ~/.profile?
• is the behaviour different when you log off and in again?
If bash is not your login shell, then you should make the change to
~/.login. And also try to re-launch TextMate and log off and in again.
Some applications do not re-read initialisation files when they
change, some take their run time environment from Mac OS X which is
established only once – at login time.
--
Greetings
Pete
A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list