Welcome to iraf.net Friday, March 29 2024 @ 05:01 AM GMT
EmilyDick |
10/15/2014 04:21PM (Read 7060 times)
|
|
|
Status: offline
Registered: 10/15/2014
Posts: 4
|
I have issues installing iraf on a 64 bit mac. I went through the install process here http://www.iac.es/sieinvens/siepedia/pmwiki.php?n=HOWTOs.IrafMacOSX. However, I get this error when I run cl after installing:
bash-3.2$ cl
Warning: iraf=/Users/emilydick/iraf/iraf.macx.x86_64/ does not exist \(check .cshrc or .login\)
Session will default to iraf=/iraf/iraf/
/usr/local/bin/cl: line 124: [: too many arguments
/usr/local/bin/cl: line 143: [: too many arguments
/usr/local/bin/cl: line 151: [: too many arguments
/iraf/iraf/bin.Unable to configure platform IRAFARCH=''./vocl.e not found
/usr/local/bin/cl: line 165: /iraf/iraf/bin.Unable: No such file or directory
/usr/local/bin/cl: line 165: exec: /iraf/iraf/bin.Unable: cannot execute: No such file or directory
I also tried running the binary directly from the iraf folder in my home directory and get the following error,
bash-3.2$ /iraf/iraf/bin.macintel/cl.e
task `cl' has no param file
Fatal startup error. CL dies.
Thanks in advance for your help.
|
|
|
|
fitz |
10/16/2014 11:01PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The problem seems to be in one or more of your environment variables: The first error implies the $iraf setting is /Users/emilydick/iraf/iraf.macx.x86_64, while the 'too many arguments" messages indicate a problem with the architecture setting. What are the values of $iraf and $IRAFARCH and what is the path to the iraf directory on your system?
Note that if there is a space in your path (e.g. "/Users/Emily Dick/iraf") then this will certainly cause problems. In that case the best solution is to create an actual /iraf directory and install IRAF there to avoid the space in the directory name.
If you still have problems, please post the output of the 'env' unix command so I can see what settings you have. Also be sure to check your .login and .cshrc/.bashrc files to see if there is a different setting for 'iraf' and 'IRAFARCH' in those files.
|
|
|
|
EmilyDick |
10/22/2014 08:57PM
|
|
|
Status: offline
Registered: 10/15/2014
Posts: 4
|
I had originally set $iraf to /iraf/iraf/ but looking at my environment it is switching back to /Users/emilydick/iraf/iraf.macx.x86_64/. IRAFARCH isn't defined, and I'm not sure what I would set it to. There is no space in my home directory name, just /Users/emilydick/. I've copied my environment below:
bash-3.2$ env
TERM=xterm
SHELL=/bin/bash
iraf=/Users/emilydick/iraf/iraf.macx.x86_64/
TMPDIR=/var/folders/rt/jxqhjv0d251flksvzrt04h8c0000gq/T/
Apple_PubSub_Socket_Render=/tmp/launch-yMjZvV/Render
WINDOWID=8388621
OLDPWD=/
XTERM_SHELL=/bin/bash
USER=emilydick
SSH_AUTH_SOCK=/tmp/launch-Pms2vN/Listeners
__CF_USER_TEXT_ENCODING=0x1F7:0:0
PATH=/Users/emilydick/.iraf/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11R6/bin:/opt/X11/bin
__CHECKFIX1436934=1
PWD=/iraf
XTERM_LOCALE=C
XTERM_VERSION=XTerm(297)
HOME=/Users/emilydick
SHLVL=2
IRAFARCH=
LOGNAME=emilydick
DISPLAY=:9
X11_PREFS_DOMAIN=org.macosforge.xquartz.X11
_=/usr/bin/env
The path to my iraf directory is simply /iraf/iraf/.
Thank you for your help.
|
|
|
|
fitz |
10/22/2014 09:02PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You might try re-running the install script once again, you can specify the 'iraf' path there regardless of what it is in your environment. That will set the defaults in cases where you don't define $iraf at all, however you should check your login files (e.g. $HOME/.login, $HOME/.profile, $HOME/.bash*) to see if this is being reset somewhere.
As it is, the environment setting is the one being used by the 'cl' command at the moment. IRAFARCH isn't required to be set unless you're compiling something.
|
|
|
|
EmilyDick |
10/29/2014 08:44PM
|
|
|
Status: offline
Registered: 10/15/2014
Posts: 4
|
I re-ran the install script and set iraf as /iraf/iraf/. This did not fix my problem as that was the default answer anyways.
My .bash_profile, and .bash_login each have:
# Add iraf setup commands
if [ -e /Users/emilydick/.iraf/setup.sh ]; then
source /Users/emilydick/.iraf/setup.sh
fi
Is this possibly incorrect or missing something?
Thank you.
|
|
|
|
fitz |
10/29/2014 08:48PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Check the values defined in the /Users/emilydick/.iraf/setup.sh script, these may be the old/bad values for $iraf causing the problem. You can manually change these if you prefer, or else simply delete the $HOME/.iraf directory and rerun the unstall script with the correct $iraf value.
|
|
|
|
| |
|
Content generated in: 0.19 seconds |
|