View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

need help installing tables and stsdas

Arp wrote on Jun 19, 2009

Hi!

Im very new to linux, but I have to use and learn it :)
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?

Mike Fitzpatrick wrote on Jun 19, 2009

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.


setenv iraf /iraf/iraf/
setenv IRAFARCH linux
source $iraf/unix/hlib/irafuser.csh


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

Arp wrote on Jun 19, 2009

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.

Mike Fitzpatrick wrote on Jun 19, 2009

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


reset stsdas  = /iraf/extern/stsdas/        <-- final '/' required!
task stsdas = stsdas$stsdas.cl


-Mike

Arp wrote on Jun 19, 2009

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 :)

Thank you for your help so far. Im sure I will be back :)

Last post on Jun 19, 2009