On 15 d�c. 2003, at 08:07, [EMAIL PROTECTED] wrote:

Still not clear: This error message, is it "the first thing that greets"
you, or do you type "source .cshrc" to get it? Or, do you perhaps have
"source .cshrc" in your .xinitrc or what?

It is the first thing that greets me. My current $PATH is:


/usr/bin:/bin:/usr/sbin:/sbin:/Users/mike:/usr/X11R6/bin :/usr/local/bin/
:/usr/local/bin/ :/usr/local/bin/ :/usr/local/bin/ :/usr/local/bin/
:/usr/local/bin/


.cshrc's only other command is adding /usr/local/bin to the $PATH. There is no
.xinitrc file.

We are slowly approaching the source of the problem now. I suppose you really
have these spaces in your PATH? Then this is the problem. You have something like


setenv PATH "$PATH :/usr/local/bin"

in your .cshrc. This will break any number of things, not only a command like

if ( $?PATH ) then

in /sw/bin/init.csh
(Besides, it is not a good idea to add PATH elements in .cshrc, the PATH will grow
longer and longer over time. You usually do this in a .login, or you do it like
/sw/bin/init.csh, with the command append_path that is defined there.)


--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to