Hi,

last week I completely removed my fink installation and reinstalled it 
from scratch, after first having installed the new TeXlive2009. I 
wanted to get rid of old junk and clean my disk and thought that this 
was the easiest way. Since then I'm having a weird unix path problem: 
in Terminal echo $PATH gives me the correct path:
/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin
In xterm, the path is the following:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/sw/bin:/sw/sbin:/usr/X11R6/bin

As you can see, /sw/bin and /sw/sbin have moved to another position in 
the PATH variable in xterm, giving rise to lots of problems.

I have put some echo statements in /sw/bin/xinitrc.sh for debugging 
purposes, and this shows that the path is
/sw/bin:/sw/sbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin
just before the execution of the very last statement in xinitrc.sh, 
which is exec /usr/bin/quartz-wm
This means that just before starting the window manager, /sw/bin 
is in the right position but also that the path is not complete when 
compared to the final contents in xterm or terminal. Apparently some 
more changes are applied when the window manager is started.

I am using bash, and the very last statement in my .bash_profile file is 
test -r /sw/bin/init.sh && . /sw/bin/init.sh
as it should be. I don't have any specific .xinitrc, .xserverrc, 
.xsession etc. files in my homedir. This is on 10.6.2, with the last 
versions of all fink packages. The packages that I installed 
explicitly are antiword, emacs23, gawk, wget, xcircuit, xfig. All 
other packages (among them also xinitrc 1.5-1) were installed through 
dependencies.

Does anyone have a clue about what is going on here? Any advice on how 
to debug this? I looked at the man pages of quartz-wm, Xquartz, 
Xserver, xdm, ... but didn't find any pointers to what I should try 
next. I checked the console messages, but there is nothing strange 
there.

Thanks in advance,

Patrick

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to