Welcome to iraf.net Sunday, May 19 2024 @ 07:29 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 need help installing tables and stsdas
   
Arp
 06/19/2009 02:14PM (Read 2427 times)  
++---
Junior

Status: offline


Registered: 06/15/2009
Posts: 34
Hi!Im very new to linux, but I have to use and learn it Smile
Im using Iraf, and need stsdas, which needs tables. Im using Suse 11.1.I managed to install iraf, and it seems to work. I guess tables is not built yet, I just unpacked it into a folder /iraf/extern/tables/.but when I enter mkpkg suse, I get
"Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found
/bin/bash: host//mkfloat.csh: File or Folder not found"Could you please help me with that?
Thanks.
edit: I found an error... I was incorrectly using the cygwin binaries...But, now I cant find any for suse. The page where you can download stsdas and tables offers just something built on redhat... is that compatible with suse?

 
Profile Email
 Quote
fitz
 06/19/2009 02:14PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The pre-built redhat binaries should work fine on any recent Suse distribution, just be sure to unpack them in a 'bin.linux' directory under /iraf/extern/stsdas (same for tables). To compile from sources, you'll need to define some environment variables, e.g.[code:1:db77cdec33]
setenv iraf /iraf/iraf/
setenv IRAFARCH linux
source $iraf/unix/hlib/irafuser.csh
[/code:1:db77cdec33]It is best to put these in your .cshrc file rather than the .login, however if you use pre-built binaries all you need to complete the installation is the edit to the $hlib/extern.pkg file as described in the installation instructions.-Mike

 
Profile Email
 Quote
Arp
 06/19/2009 02:14PM  
++---
Junior

Status: offline


Registered: 06/15/2009
Posts: 34
Hi!Thank you, but that just does not work.
I unpacked the binaries into bin.linux and even bin.suse to be sure. the extern.pkg is properly (I hope) edited. but when I start ecl and enter "stsdas" its not found.rebuilding doesnt work either since my bash cannot find the setenv command.

 
Profile Email
 Quote
fitz
 06/19/2009 02:14PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
If the 'stsdas' variable isn't found then the extern.pkg wasn't done properly. Be sure the definition is *before* the final 'keep' statement and looks something like[code:1:65c0a56d43]
reset stsdas = /iraf/extern/stsdas/ <-- final '/' required!
task stsdas = stsdas$stsdas.cl
[/code:1:65c0a56d43]-Mike

 
Profile Email
 Quote
Arp
 06/19/2009 02:14PM  
++---
Junior

Status: offline


Registered: 06/15/2009
Posts: 34
Hi!I just found the problem. It was indeed in the extern.pkg file... the error was that the entries for tables and stsdas started with an #.... as I said, im very new to linux and missed that one SmileThank you for your help so far. Im sure I will be back Smile

 
Profile Email
 Quote
   
Content generated in: 0.17 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login