Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem installing Tables under Fedora 9

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
thr3shold



Joined: 22 Oct 2008
Posts: 6

PostPosted: Tue Dec 09, 2008 8:19 am    Post subject: Problem installing Tables under Fedora 9 Reply with quote

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 directory

if I try and run IRAF and then tables I get a message saying 'tables' has no param file. Any ideas?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Wed Dec 10, 2008 2:54 am    Post subject: Reply with quote

Compiling anything in IRAF requires that you define certain environment variables appropriate for your system e.g.

Code:

setenv iraf /iraf/iraf/                        <-- trailing '/' required
setenv IRAFARCH redhat
source $iraf/unix/hlib/irafuser.csh


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:
mkpkg -p tables


to do the compilation. Pre-built binaries are available for most popular systems as well.

-Mike
Back to top
View user's profile Send private message
thr3shold



Joined: 22 Oct 2008
Posts: 6

PostPosted: Thu Dec 11, 2008 4:34 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Thu Dec 11, 2008 4:46 am    Post subject: Reply with quote

Quote:
Executing mkpkg tables return the error


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
Back to top
View user's profile Send private message
thr3shold



Joined: 22 Oct 2008
Posts: 6

PostPosted: Thu Dec 11, 2008 1:20 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Thu Dec 11, 2008 4:09 pm    Post subject: Reply with quote

Sounds like the package isn't (properly) declared in the hlib$extern.pkg file, e.g.

Code:

setenv tables     /iraf/extern/tables/          <-- trailiing '/' required
task tables = tables$tables.cl


Note that the last line in the file must be 'keep', a missing trailing '/' would also account for the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.09 seconds