Mike Moran wrote:
[]
% wc -c /sw/share/java/classpath
    1719 /sw/share/java/classpath

This alone should still work. If you start a new Terminal window, you shouldn't have a problem in your first shell. However, if you start a second shell, your CLASSPATH will have a length of 3438, and if you then run scripts like /sw/bin/gnuplot or fink selfupdate, /sw/bin/init.csh will crash.


You are a victim (the first one; others will surely follow soon) of several conspiring design flaws:

- It is a bad design flaw of Java that CLASSPATH is not a list of directories, but a list of files. One can do nothing about this, I guess.

- The fact that /sw/bin/init.csh adds path components indefinitely although they are already there, is a bug in fink's basefiles package. A fix exists, has been discussed and tested, but is not yet contained in the released version of fink. See patch tracker #683277. It would be interesting to see whether it solves your problem.

- Putting "source /sw/bin/init.csh" into ~/.cshrc creates the additional problem that it is run whenever a shell script is run, which is not really useful. This doesn't happen to me, because I have it in ~/Library/init/tcsh/path, and this is only run when a login shell is started.

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to