Re: [Xquartz-dev] MacPorts XQuartz 2.3.2 (xorg-server 1.4.2-apple32) has problems with $PATH
Am 21.02.2009 um 16:04 schrieb xquartz-dev-request@lists.macosforge.org:
So then it sounds like everything is correct... what is the issue?
The issue is that the correct value of PATH does not exist inside ~/.xinitrc – none of the applications launched by it inherit the correct PATH which existed in /Applications/MacPorts/X11.app/Contents/ MacOS/X11. On my previous eMail I made a mistake. What I invoke in bash is: exec -l /bin/tcsh -c 'echo $path' and I get: /Users/pete/bin /sw/lib/freetype219/bin /sw/lib/fontconfig2/bin /usr/ local/bin /usr/local/ActivePerl-5.8/bin /usr/local/texlive/2008/bin/ universal-darwin /usr/bin /bin /sbin /usr/sbin /usr/local/sbin /sw/ sbin /usr/X11/bin /sw/bin /sw/lib/coreutils/bin /Developer/Tools / Users/pete/bin/FDK/Tools/osx (with PATH instead of path I get: /Users/pete/bin:/sw/lib/freetype219/ bin:/sw/lib/fontconfig2/bin:/usr/local/bin:/usr/local/ActivePerl-5.8/ bin:/usr/local/texlive/2008/bin/universal-darwin:/usr/bin:/bin:/sbin:/ usr/sbin:/usr/local/sbin:/sw/sbin:/usr/X11/bin:/sw/bin:/sw/lib/ coreutils/bin:/Developer/Tools:/Users/pete/bin/FDK/Tools/osx) X clients launched from the programmes menu have: /Users/pete/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/ local/sbin:/usr/local/bin:/sw/bin:/usr/local/bin:/usr/local/texlive/ 2008/bin/universal-darwin:/Users/pete/bin/FDK/Tools/osx:/opt/local/ bin:/usr/X11R6/bin X clients launched by ~/.xinitrc have: /opt/local/bin:/usr/X11/bin:/Users/pete/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/sw/bin:/usr/local/ bin:/usr/local/texlive/2008/bin/universal-darwin:/Users/pete/bin/FDK/ Tools/osx:/opt/local/bin:/usr/X11R6/bin Where do these irregular settings come from which cannot come from my own files because none handles strings that have the closest resemblance to these cited above, because they make use of my single spot of failure which is 'defaults read ~/.MacOSX/environment PATH' and which returns: /Users/pete/bin:/sw/lib/freetype219/bin:/sw/lib/fontconfig2/bin:/usr/ local/bin:/usr/local/ActivePerl-5.8/bin:/usr/local/texlive/2008/bin/ universal-darwin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/sw/ sbin:/usr/X11/bin:/sw/bin:/sw/lib/coreutils/bin:/Developer/Tools Except one: "/Users/pete/bin/FDK/Tools/osx" comes from either ~/.login or ~/.profile. -- Greetings Pete Klingons do not believe in indentation - except perhaps in the skulls of their project managers.
On Feb 21, 2009, at 09:04, Peter Dyballa wrote:
Where do these irregular settings come from which cannot come from my own files because none handles strings that have the closest resemblance to these cited above, because they make use of my single spot of failure which is 'defaults read ~/.MacOSX/environment PATH' and which returns:
As already mentioned, they come from environment.plist, then your bashrc, then your login shell. --Jeremy
participants (2)
-
Jeremy Huddleston
-
Peter Dyballa