Welcome to iraf.net Thursday, April 25 2024 @ 11:09 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 FITSUTIL for mac
   
Anonymous: Guest
 08/02/2006 12:34AM (Read 9182 times)  



Hello,I need to install the FITSUTIL package under mac os 10.4.7. I
downloaded the filefitsutil-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-v212but when I unpack it, I only find:fgread.e
fgwrite.e
libmef.a
x_fisutil.eThe 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
CANADAphone: (250) 363-8708
fax: (250) 363-0045

 
 Quote
fitz
 08/02/2006 12:34AM  
AAAAA
Admin

Status: offline


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

 
Profile Email
 Quote
zarate
 08/02/2006 12:34AM  
+----
Newbie

Status: offline


Registered: 11/11/2005
Posts: 8
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

 
Profile Email
 Quote
drandersen
 08/02/2006 12:34AM  
+----
Newbie

Status: offline


Registered: 08/02/2006
Posts: 2
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 fxdeletenhedit is not among them. Within iraf, nhedit appears when I type
cl> fitsutiland 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

 
Profile Email
 Quote
fitz
 08/02/2006 12:34AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Hi Dave,Please double-check that you unpacked the right file, I just verified it is in there, i.e.[code:1:f4bc0b409f]
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
>
[/code:1:f4bc0b409f]-Mike

 
Profile Email
 Quote
drandersen
 08/02/2006 12:34AM  
+----
Newbie

Status: offline


Registered: 08/02/2006
Posts: 2
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

 
Profile Email
 Quote
fitz
 08/02/2006 12:34AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
FWIW, the 'extern' is a symlink to 'extern-v212' so it should have been the same file either way.-Mike

 
Profile Email
 Quote
   
Content generated in: 0.29 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