Welcome to iraf.net Friday, May 17 2024 @ 04:02 AM GMT
thr3shold |
12/09/2008 08:19AM (Read 6464 times)
|
|
|
Status: offline
Registered: 10/21/2008
Posts: 6
|
I am trying to install Tables under Fedora 9. I got IRAF running OK using http://student.dcu.ie/~reynols7/iraf.html
When I tried installing the tables package following the directions in http://stsdas.stsci.edu/download/stsdas_3.9/stsdas_install_guide_39.pdf
and I got to the portion where it instructs you to issue the command mkpkg redhat I get the following error message:
Warning, hlib@mkpkg.inc line 5: macro 'IRAFARCH' not found /bin/bash: host//mkfloat.csh: No such file or directoryif I try and run IRAF and then tables I get a message saying 'tables' has no param file. Any ideas?
|
|
|
|
fitz |
12/09/2008 08:19AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Compiling anything in IRAF requires that you define certain environment variables appropriate for your system e.g.[code:1:5a68167efa]
setenv iraf /iraf/iraf/ <-- trailing '/' required
setenv IRAFARCH redhat
source $iraf/unix/hlib/irafuser.csh
[/code:1:5a68167efa]In general, these (or the Bash equivalents) should be put in your .cshrc file (or .bashrc/.profile) so they can be used if you invoke MKPKG from within the CL.For compiling external packages, there is also the assumption that the 'tables' package variable has been defined in the hlib$extern.pkg file or as an environment variable (in both cases, with a trailing '/'). Compiling external packages also requires the '-p' flag to load a specific package environment, e.g.[code:1:5a68167efa]mkpkg -p tables[/code:1:5a68167efa]to do the compilation. Pre-built binaries are available for most popular systems as well.-Mike
|
|
|
|
thr3shold |
12/09/2008 08:19AM
|
|
|
Status: offline
Registered: 10/21/2008
Posts: 6
|
Executing mkpkg tables return the error
Warning, mkpkg line 188: could not find mkpkg module or label 'tables'
Warning, mkpkg line 188: no entry in mkpkg file for 'tables'
I've edited extern.pkg and .cshrc as you suggested. Any other help with this?
|
|
|
|
fitz |
12/09/2008 08:19AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
[quote:5d11025ea4]Executing mkpkg tables return the error[/quote:5d11025ea4]The command is "mkpkg -p tables" not "mkpkg tables". The first uses the '-p' flag to name 'tables' as the package environment, the second command tells mkpkg to execute the 'tables' directive in the mkpkg file (which doesn't exist).-Mike
|
|
|
|
thr3shold |
12/09/2008 08:19AM
|
|
|
Status: offline
Registered: 10/21/2008
Posts: 6
|
mkpkg -p tables produces nothing but pages and pages of errors, gongi into IRAF then trying to run tables produces the error
ERROR:Task 'tables' has no param file.
|
|
|
|
fitz |
12/09/2008 08:19AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Sounds like the package isn't (properly) declared in the hlib$extern.pkg file, e.g.[code:1:b92fd2fdc4]
setenv tables /iraf/extern/tables/ <-- trailiing '/' required
task tables = tables$tables.cl
[/code:1:b92fd2fdc4]Note that the last line in the file must be 'keep', a missing trailing '/' would also account for the problem.
|
|
|
|
| |
|
Content generated in: 0.23 seconds |
|