Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

iraf on the laptop

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
Mike Potter



Joined: 24 Apr 2006
Posts: 12
Location: Baltimore

PostPosted: Mon Apr 24, 2006 11:59 pm    Post subject: iraf on the laptop Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Tue Apr 25, 2006 2:06 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Mike Potter



Joined: 24 Apr 2006
Posts: 12
Location: Baltimore

PostPosted: Tue Apr 25, 2006 9:31 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3255
Location: Tucson

PostPosted: Tue Apr 25, 2006 9:38 pm    Post subject: Reply with quote

The "Burke Port", as we shall now call it Cool, 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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.40 seconds