Re: Weird Looping Crash
Re: Weird Looping Crash
- Subject: Re: Weird Looping Crash
- From: Nathan <email@hidden>
- Date: Mon, 1 Feb 2010 16:20:57 -0700
On Mon, Feb 1, 2010 at 4:13 PM, Jeremy Huddleston <email@hidden> wrote:
> Well... for some reason, /usr/bin doesn't seem to be in your $PATH when startx is launched from launchd.
>
> Try putting in an "echo PATH is: $PATH" lines in /usr/X11/bin/startx to see what it's set to (it'll be printed with the rest of those error messages in /var/log/system.log).
Okay, I added {echo "PATH is: \"$PATH\""} to /usr/X11/bin/startx and
in the logs it says:
PATH is: "/Developer/Tools/Panda3D"
What the heck??? I just installed Panda3D over the weekend (it
appears to be completely broken on Snow Leopard, the demos that ship
with it wouldn't even work). But I don't see that messed-up PATH in
my own bash or sh sessions:
$ bash
$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/Tools/Panda3D:/Users/nathan/bin:/usr/local/bin:/usr/X11R6/bin/:/opt/local/lib/pgsql8/bin/:/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql82/bin
$ /bin/sh
$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/Tools/Panda3D:/Users/nathan/bin:/usr/local/bin:/usr/X11R6/bin/:/opt/local/lib/pgsql8/bin/:/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql82/bin
...and the Panda3D path is right in the middle of the string, so how
is that ending up as the only path when startx launches from
/bin/sh???
~ Nathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden