Welcome to iraf.net Monday, May 20 2024 @ 08:07 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 iraf on the laptop
   
Mike Potter
 04/24/2006 11:59PM (Read 4924 times)  
++---
Junior

Status: offline


Registered: 04/23/2006
Posts: 15
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

 
Profile Email Website
 Quote
fitz
 04/24/2006 11:59PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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

 
Profile Email
 Quote
Mike Potter
 04/24/2006 11:59PM  
++---
Junior

Status: offline


Registered: 04/23/2006
Posts: 15
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

 
Profile Email Website
 Quote
fitz
 04/24/2006 11:59PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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'.-MikeP.S. I'll add spaces-in-names to the list of things to check for the next update, thanks for mentioning it.

 
Profile Email
 Quote
   
Content generated in: 0.21 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login