Posted: Mon Apr 24, 2006 11:59 pm Post subject: iraf on the laptop
I'm trying to install iraf on my spiffy new hp laptop computer. I've installed the default configuration for cygwin, and have downloaded and unpacked all of the binaries, etc. When I run "install" the program asks me for the name of the new root iraf directory - whcih it has correctly guessed. I hit return to accept the default and the program crashes saying "if: Expression Syntax" I've looked at the code a bit and its not obvious to me what is wrong. A few more clues:
1) if I say "q" the program exits as it should
2) if I give a non-existant file name the program tells me so and returns to the top of the loop.
3) if I press "q" or type "help" the program prints a message then crashes with the following:
set: Syntax Error.
Am I supposed to run this stuff using a different shell? The prompt character is a dollar sign - not sure that really means anything.
Be sure you have the 'tcsh' installed, i.e. under the 'Shells' menu of the Cygwin setup.exe or look for a /bin/csh on the machine. You may be executing using the bash shell.
It looks like the problem was that my user name (on my machine) has a blank in it. I created a new account without the blank and was able to get iraf to install. I still haven't gotten iraf to run as when I type "cl" I get a message saying:
Command not found: /iraf/iraf/bin.linux/ecl.e
Shouldn't it point to /iraf/iraf/bin.cygwin/ecl.e? I'm using some .bashrc lines that I downladed from Chris Burke's site - prehaps that's the problem?
The "Burke Port", as we shall now call it , didn't create a new architecture name but instead pointed everything to 'linux' as the name. The bashrc file should otherwise be correct, just edit the references to the architecture name to use 'cygwin'.
-Mike
P.S. I'll add spaces-in-names to the list of things to check for the next update, thanks for mentioning it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum