View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

finder_221 installation problem

prajwel wrote on Jun 01, 2015


Hi, I am trying to install finder on a centos. I tried "dynamic external package loading", but unfortunately finder is not listed there. I downloaded the file from ftp://iraf.noao.edu/iraf/extern/finder_221.tar.gz and tried running "mkpg redhat". I end up with this error

mkpkg redhat
Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found
Warning, mkpkg line 77: could not find mkpkg module or label `redhat'
Warning, mkpkg line 77: no entry in mkpkg file for `redhat'


I would appreciate any help, thank you.


Mike Fitzpatrick wrote on Jun 03, 2015


The FINDER package is no longer actively maintained and 'redhat' is one of the older architectures. The specific error you report has to do with the fact you need to define an environment for compilation, e.g.

% setenv iraf /iraf/iraf/ # <--- trailing '/' req'd

% setenv IRAFARCH redhat # should be 'linux' on newer systems

% source $iraf/unix/hlib/irafarch.csh # to remaining environment

In v2.16 systems there are Bash equivalents for these (e.g. 'irafarch.sh'). Even so, there were compilation problems on newer systems due to compiler differences and so I've simply put a compiled package for 32-bit linux at

ftp://iraf.noao.edu/pub/finder_221-linux.tar.gz

Download in binary mode and unpack in the same directory as your other external packages. Since you can't use the autmated package mechanism with this (just yet, I'll get to it), edit the $hlib/extern.pkg file to declare the package (before the final 'keep' statement) with

reset finder = /<path>/finder/ # replace , trailing '/' req'd

task finder = finder$finder.cl

Note you'll also need to have the TABLES package installed.


Last post on Jun 03, 2015