Welcome to iraf.net Saturday, April 20 2024 @ 11:11 AM GMT
prajwel |
06/01/2015 11:47AM (Read 806 times)
|
|
|
Status: offline
Registered: 02/24/2014
Posts: 7
|
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
PHP Formatted Code 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.
|
|
|
|
fitz |
06/03/2015 04:25PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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.
|
|
|
|
| |
|
Content generated in: 0.11 seconds |
|