View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

iraf/exern

douglas brenner wrote on Dec 11, 2009

Sorry, it was clear to me which one I wanted. Once I have it, what so I do with it after unzipping it?
thanks

Mike Fitzpatrick wrote on Dec 11, 2009

You need both the src and binary distribution (the src has parameters, help pages, etc). To install:


% mkdir /iraf/extern/stecf
% cd /iraf/extern/stecf
% tar zxf /path/stecf-v1.5-src.tar.gz
% tar zxf /path/stecf-v1.5-bin.macintel.tar.gz


To complete the installation, edit the hlib$extern.pkg file and add


reset stecf = /iraf/extern/stecf/        <--- trailing '/' required
task stecf = stecf$stecf.cl

douglas brenner wrote on Dec 11, 2009

Thanks. Looks simple enough. If anybody can screw though, I can.

douglas brenner wrote on Dec 11, 2009

Followed the instructions exactly but found four extern.pkg files in two directories.
extern.pkg.IRAFNET and extern.pkg.NOAO. Added the lines to all the files and rebooted for good measure. iraf couldn't find the routines.

Mike Fitzpatrick wrote on Dec 11, 2009

The required file is 'extern.pkg' in $iraf/unix/hlib. Be sure to add the lines before the final 'keep' statement, you can likewise declare the package for personal use in your login.cl/loginuser.cl using those same commands (again, before the 'keep').

An error message might mean the path didn't have a trailing '/', or the src file wasn't unpacked (e.g. do you have a /iraf/extern/stecf/stecf.cl file?

douglas brenner wrote on Dec 11, 2009

The extern files I listed are either in scisoft/.../iraf/unix/hlib or Applications/scisoft/.../iraf/unix/hlib but they all have an added extension.

Mike Fitzpatrick wrote on Dec 11, 2009

There is no extension, the required file is 'extern.pkg'. Make a copy of one of the other files and put the commands in there. At one point SciSoft already included the STECF package, check in /scisoft/iraf/extern and see whether one of the files with an extension contains those paths.

Last post on Dec 11, 2009