[Xquartz-dev] MacPorts XQuartz 2.3.3 (xorg-server 1.4.2-apple35) on Tiger

Peter Dyballa Peter_Dyballa at Freenet.DE
Mon Mar 9 09:43:58 PDT 2009


Am 09.03.2009 um 15:05 schrieb Jeremy Huddleston:

>> Still the paths in X11 are not correct and have no resemblance to
>> what I have in all other applications.
>
> What do you mean by that?


What I described before: that the PATH value does not correspond to  
what is recorded in ~/.MacOSX/environment.plist, which is:

	/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.

The shell RC files use either

	PATH=`defaults read "${HOME}/.MacOSX/environment" PATH`

or

	export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)

or

	set path=(`defaults read ~/.MacOSX/environment PATH | tr ':' ' '`)

The PATH value for example GNU Emacs 23.0.91 sees is:

	/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

or

	/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

when in ~/.xinitrc the line

	PATH=/opt/local/bin:/usr/X11/bin:$PATH


--
Greetings

   Pete

I love deadlines. I love the whooshing noise they make as they go by.
				– Douglas Adams





More information about the Xquartz-dev mailing list