View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

FITSUTIL for mac

Guest wrote on Aug 02, 2006

Hello,

I need to install the FITSUTIL package under mac os 10.4.7. I
downloaded the file

fitsutil-bin.macosx.tar.gz <http://iraf.noao.edu/iraf/ftp/iraf/extern-v212/fitsutil-bin.macosx.tar.gz>; from iraf.noao.edu/iraf/ftp/iraf/extern-v212

but when I unpack it, I only find:

fgread.e
fgwrite.e
libmef.a
x_fisutil.e

The Gemini GNIRS package expects nhedit to be part of FITSUTIL. I
downloaded the full source, but have been having some troubles
compiling it. (the mkpkg doesn't seem to detect the mac architecture
and produces generic bin files - in the fitsutil/pkg directory there
then exists a nhedit.x but iraf won't execute it).

Can all the mac executables be included on-line?

Thanks,

Dave Andersen

--
*******************************************
David.Andersen@nrc-cnrc.gc.ca
NRC Herzberg Institute of Astrophysics
5071 W. Saanich Rd
Victoria, BC V9E 2E7
CANADA

phone: (250) 363-8708
fax: (250) 363-0045

Post generated using Mail2Forum (http://www.mail2forum.com)

Mike Fitzpatrick wrote on Aug 02, 2006

The fitsutil-bin.macosx.tar.gz file has been updated with current binaries. You'll need both the source fitsutil.tar.gz file as well as the binaries, just unpack the binaries in the fitsutil directory to create the 'bin.macosx' directory. Complete the installation by editing the hlib$extern.pkg file per the instructions.

Cheers,
-Mike

zarate wrote on Aug 02, 2006

Hello Dave;

The x_fitsutil.e executable contains entry points for many tasks, among them
shloud be nhedit. Please run x_fitsutil.e and type '?' to see the tasks
in it.

Please let me know if it's not there.

Thanks
Nelson Zarate

Dave Andersen wrote on Aug 02, 2006

Thanks for the help.

I'm still having problems getting nhedit to work, though.

I unpacked the fitsutil.tar and fitsutil-bin.macosx.tar into my
iraf/extern/fitsutil directory.

From the command line, I executed x_fitsutil.e,

and it lists 9 tasks:

fxheader fxextract fxconvert fxsplit fxplf
fxdummyh fxcopy fxinsert fxdelete

nhedit is not among them. Within iraf, nhedit appears when I type
cl> fitsutil

and I can use epar, lpar and help, but when I try to execute nhedit, I
get:

ERROR: Iraf Main: Unknown task name (nhedit)

All 11 other tasks in fitsutil (the ones above + fgread & fgwrite) appear
to work.

Suggestions? I grabbed the mac executables from the noao iraf site.

Thanks,

Dave Andersen

Mike Fitzpatrick wrote on Aug 02, 2006

Hi Dave,

Please double-check that you unpacked the right file, I just verified it is in there, i.e.


iraf@tiamat.tuc.noao.edu% ftp ftp://iraf.noao.edu/iraf/extern/fitsutil-bin.macosx.tar.gz
Connected to tucana.tuc.noao.edu.
220 Welcome to NOAO-Tucson IRAF/NVO FTP service.
331 Please specify the password.
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
250 Directory successfully changed.
local: fitsutil-bin.macosx.tar.gz remote: fitsutil-bin.macosx.tar.gz
500 Unknown command.
227 Entering Passive Mode (140,252,1,86,205,237)
150 Opening BINARY mode data connection for fitsutil-bin.macosx.tar.gz (803097 bytes).
100% |*************************************|   784 KB   89.19 MB/s    00:00    
226 File send OK.
803097 bytes received in 00:00 (83.51 MB/s)
221 Goodbye.
iraf@tiamat.tuc.noao.edu% tar zxf fitsutil-bin.macosx.tar.gz 
iraf@tiamat.tuc.noao.edu% bin.macosx/x_fitsutil.e
> ?
    fxheader    fxextract   fxconvert   fxsplit     fxplf       
    fxdummyh    fxcopy      fxinsert    fxdelete   nhedit   
> 


-Mike

Dave Andersen wrote on Aug 02, 2006

Thanks for solving my problem so quickly.

I was grabbing the fitsutil-bin.macosx.tar.gz from the extern-v212 rather
than the extern directory. The extern-v212 version is missing nhedit.

Dave

Mike Fitzpatrick wrote on Aug 02, 2006

FWIW, the 'extern' is a symlink to 'extern-v212' so it should have been the same file either way.

-Mike

Last post on Aug 02, 2006