Dear Contexters, Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't work: upon trying to typeset a file it says: tcsh: /sw/bin/init.csh: No such file or directory. and everything stops. This behaviour seems to be specific to ConTeXt, called from within TeXShop, since typesetting with Plain TeX or LaTeX works without problems. Also typesetting with ConTeXt from a command line interface works fine. Is this natural or I have messed up something? Thank you for your attention. Best regards: OK
Otared Kavian wrote:
Dear Contexters,
Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't work: upon trying to typeset a file it says:
tcsh: /sw/bin/init.csh: No such file or directory.
Sound like a problem in TeXShop (or possibly gwTeX). ConTeXt does not deal with tcsh, all included scripts are driven by either perl or ruby. From the website I understand that perhaps you have to update TeXShop for 10.4, but I'm only guessing... Good luck, Taco
Taco Hoekwater said this at Thu, 9 Jun 2005 16:24:39 +0200:
Otared Kavian wrote:
Dear Contexters,
Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't work: upon trying to typeset a file it says:
tcsh: /sw/bin/init.csh: No such file or directory.
Sound like a problem in TeXShop (or possibly gwTeX). ConTeXt does not deal with tcsh, all included scripts are driven by either perl or ruby. From the website I understand that perhaps you have to update TeXShop for 10.4, but I'm only guessing...
It's because you installed fink once and it is no longer installed. (I hate fink.) You could track down which of the files fink modified and delete the line referring to the /sw/bin/init.csh file. (look in ~/.tcshrc and ~/.login first) If you don't find anything you could try to put a dummy file in that place: mkdir -p /sw/bin touch /sw/bin/init.csh (You probably will need to prefix both commands with 'sudo' and enter your password at the prompt the first time.) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
It's because you installed fink once and it is no longer installed. (I hate fink.) You could track down which of the files fink modified and delete the line referring to the /sw/bin/init.csh file. (look in ~/.tcshrc and ~/.login first)
it's indeed hard to get rid of fink ... i go quite some broken stuff now, so i probably need a fresh install; is there currently any reason for fink or is the mac x driver ok now Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen said this at Thu, 9 Jun 2005 21:34:44 +0200:
Adam Lindsay wrote:
It's because you installed fink once and it is no longer installed. (I hate fink.) You could track down which of the files fink modified and delete the line referring to the /sw/bin/init.csh file. (look in ~/.tcshrc and ~/.login first)
it's indeed hard to get rid of fink ... i go quite some broken stuff now, so i probably need a fresh install; is there currently any reason for fink or is the mac x driver ok now
Driver?
It's more a package management system to help compile different open
source projects while sorting through dependencies.
I personally thought it was more trouble than it was worth by the time
OSX reached 10.2. Most open source projects are mac-friendly enough to
simply be compiled by the user or provided by Gerben in his i-Installer.
Other systems (like
Adam Lindsay wrote:
mac x driver ok now
Driver?
their x-windows system (on top of their own stuff); it was that part that conflicted with finks' x-stuff Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen said this at Fri, 10 Jun 2005 00:36:41 +0200:
Driver?
their x-windows system (on top of their own stuff); it was that part that conflicted with finks' x-stuff
Yes, Apple's X11 is *so* much better than just about any other option now. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On 9 juin 2005, at 16:38, Adam Lindsay wrote:
If you don't find anything you could try to put a dummy file in that place: mkdir -p /sw/bin touch /sw/bin/init.csh
Many thanks, Adam: that's what I did without knowing the whereabouts and mysteries of fink, tcsh, etc... Regarding X11 and OS X, sometimes (actually quite seldom) I use OroborOSX which can be found at http://oroborosx.sf.net/ Best regards: OK
On 9 juin 2005, at 16:38, Adam Lindsay wrote:
If you don't find anything you could try to put a dummy file in that place: mkdir -p /sw/bin touch /sw/bin/init.csh
Many thanks, Adam: that's what I did without knowing the whereabouts and mysteries of fink, tcsh, etc... Regarding X11 and OS X, sometimes (actually quite seldom) I use OroborOSX which can be found at http://oroborosx.sf.net/ Best regards: OK
Otared, that's typical behavior when you used to have a fink installation before the upgrade. Somewhere in your profile (I don't use tcsh, so I don't know the name of the file), there's a line saying "source /sw/bin/init.sh" to add fink-specific path-variables. Now /sw is gone, so your shell can't execute this command. You'll have to either reinstall fink or delete the offending line. And you should probably stop using tcsh, bash is the standard with newer versions of OS X. HTH Thomas On Jun 9, 2005, at 3:54 PM, Otared Kavian wrote:
Dear Contexters,
Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't work: upon trying to typeset a file it says:
tcsh: /sw/bin/init.csh: No such file or directory.
and everything stops. This behaviour seems to be specific to ConTeXt, called from within TeXShop, since typesetting with Plain TeX or LaTeX works without problems. Also typesetting with ConTeXt from a command line interface works fine. Is this natural or I have messed up something?
Thank you for your attention. Best regards: OK
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Thomas A. Schmitz said this at Thu, 9 Jun 2005 16:33:00 +0200:
And you should probably stop using tcsh, bash is the standard with newer versions of OS X.
There may be other reasons for using bash, but I wouldn't say that it being the current default is one. Apple doesn't rely on your choice of shell for anything. You should use the shell you're most comfortable with. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Thu, Jun 09, 2005 at 03:45:06PM +0100, Adam Lindsay wrote:
There may be other reasons for using bash, but I wouldn't say that it being the current default is one. Apple doesn't rely on your choice of shell for anything.
First thing I do whenever I get on the shell on my girlfriend's Mac: bash Which puts me in a bash shell. It is hard to get Apple to default to this behavior. I have tried the preferences, but that doesn't help. However, by typeing "bash", I save myself tons of headaches. On the other hand, I have written a few apple scripts that run shell scripts. (Mostly to make it easy for my girlfriend to use.) These apple scripts will use the tcsh shell, so I've learned to try to set up the proper variable for tcsh and so fourth. But I hate tchs! Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************
On Thu, Jun 09, 2005 at 03:45:06PM +0100, Adam Lindsay wrote:
There may be other reasons for using bash, but I wouldn't say that it being the current default is one. Apple doesn't rely on your choice of shell for anything.
Of course you're right Adam. Nevertheless, inexperienced users will run into trouble because recipes for doing things will usually involve bashish commands. For somebody who is not at home on the command-line, it's non-trivial to translate "export foo=bar" into something that tcsh will understand. So I would still recommend switching to bash (or zsh, my favorite shell). Best Thomas
On 9 juin 2005, at 16:33, Thomas A. Schmitz wrote:
Otared,
that's typical behavior when you used to have a fink installation before the upgrade. Somewhere in your profile (I don't use tcsh, so I don't know the name of the file), there's a line saying "source /sw/bin/init.sh" to add fink-specific path-variables. Now /sw is gone, so your shell can't execute this command. You'll have to either reinstall fink or delete the offending line. And you should probably stop using tcsh, bash is the standard with newer versions of OS X.
Hi Thomas and Taco, Thank you very much for your help. I didn't find the appropriate file where to cancel the offending line, but I created a directory called /sw/bin/ and there I put an empty file called init.sh... Now everything works with this small trick! (Actually I do use TeXShop 2.03 and the latest gwTeX). However I haven't been bold enough to install the latest ConTeXt: I'll do it later when I am sure nothing is broken in my installation. Best regards: OK
participants (6)
-
Adam Lindsay
-
Hans Hagen
-
Otared Kavian
-
Paul Tremblay
-
Taco Hoekwater
-
Thomas A. Schmitz