View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

iraf on the laptop

Mike Potter wrote on Apr 24, 2006

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.

Any and all suggestions and help are appreciated!

Mike Potter

Mike Fitzpatrick wrote on Apr 24, 2006

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.

-Mike

Mike Potter wrote on Apr 24, 2006

Thanks Mike:

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?

Thanks again for your assistance!
Mike Potter

Mike Fitzpatrick wrote on Apr 24, 2006

The "Burke Port", as we shall now call it 8-), 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.

Last post on Apr 24, 2006