On Sep 25, 2008, at 6:41 AM, Guillaume Blanc wrote: >>> I do not see how my .cshrc could affect the fink software, I only >>> have a few aliases, and path definitions. >> >> Let me state clearly: The type of problem you are seeing has never >> been observed before (I should of course add "as far as I know", >> but I have been around for a long time, and I would remember if >> this had ever been reported on a Fink mailing list). >> >> There have been cases where an old version of fink refused to run >> selfupdate successfully. For example, if your fink were too old >> (older than 0.26.2) to know about the "Info4:" field, it would not >> see the new version of fink. But your case is different. >> >> I still suspect your ~/.cshrc. If you don't want to share it, >> please test for yourself; try the following: >> >> 1. Move it out of the way: >> >> mv ~/.cshrc ~/.cshrc_away >> >> 2. Create a new one that knows about Fink: >> >> /sw/bin/pathsetup.sh >> >> Then open a new Terminal window. >> >> 3. Now look if things have changed: >> >> fink index; fink list fink >> >> 4. At the end, move your ~/.cshrc back >> >> mv ~/.cshrc_away ~/.cshrc >> >>> Perhaps the solution would be to uninstall fink and then reinstall >>> it? >> >> I doubt it, unless you identify the source of your problem and >> remove it first. >> >>> If so, how can I do it? >> >> There is an entry in the Fink FAQ, #5.6, explaining this. > > OK, I'm getting quite lost, but anyway, I attached the three files: > my .cshrc, /sw/bin/init.csh and /sw/bin/pathsetup.sh. > > At the begining of my .cshrc there is a source of /sw/bin/init.csh > which was included by the administrator of my lab when I got the > mac. I realized that it has something to do with fink, but I don't > know what exaclty. Perhaps this the origini of the problem? > What's the difference between init.csh and pathsetup.csh? > > Guillaume > > > <.cshrc><init.csh><pathsetup.sh>
The beginning line in your .cshrc is expcted, since that's what pathsetup.sh does: when run it attempts to figure out which dot-file to use (e.g. .cshrc or .profile depending on the user's shell) and then adds a line that loads init.(c)sh. init.csh is what actually set's Fink's environment for you. We really didn't need init.sh or pathsetup.sh, as these are installed by Fink and we all have a copy--unless you suspect that they were edited by you or someone else. This appears not to have been the case. Your .cshrc appears to me to be harmless. Martin may contradict me, though. :-) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
