View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Problems installation of TABLES & STSDAS

Peter Anders wrote on Jul 25, 2011

Dear all,

on my OpenSuSE v11.3 laptop IRAF is installed (Revision 2.15.1a). Now I wanted to add the TABLES and STSDAS packages (both the present-day versions 3.8: first extern.pkg changed, then TABLES installation, then STSDAS installation), following the accompanying guide stsdas_install_guide_38.pdf ... both sources and binaries are installed.

However:

a) "ERROR: task `stsdas' has no param file" ... and therefore associated tasks are not available: "ERROR: task `iminfo' not found"

b) /tmp/pix_table.fits file is empty (size = 0 byte), hence cannot be used to test the TABLES installation (but TABLES tasks are available)

So, how to make STSDAS running and test TABLES?

Thanks in advance :-)
Peter

Mike Fitzpatrick wrote on Jul 25, 2011

The most current version of STSDAS/TABLES is actually v3.13 but it is little-changed from earlier releases. However, in IRAF v2.15 the package installation is much easier and automatic, for example


% cd /iraf/iraf/exern
% ./configure
% make stsdas


This will automatically install the STSDAS package and any dependencies (i.e. TABLES). Also, the TTOOLS package and libraries are included in the core IRAF release.

Without downloading the 3.8 installation guide I can't comment on empty data file, perhaps the name "/tmp/pix_table.fits" is just an example name in the document?

donzelli wrote on Jul 25, 2011

Hi,

I already installed iraf v 2.15.1a on a macbook (os x 10.7.2).
Now Im trying to install the external packages and I see it is a different but easier procedure. I executed the configure command successfuly but when I try to execute the make command I get: bash: make: command not found.
I also tried ./make with no success. However, Makefile file is there.
I would appreciate your help.
regards

Mike Fitzpatrick wrote on Jul 25, 2011

The 'make' command is part of the Developer Tools on OSX, unfortunately this is a specific extra installation. You can either install those, or else call the installer script directly from the unix prompt, i.e.

% cd /iraf/iraf/extern
% ../util/pkginst stsdas

This is all the Makefile does and will likewise install dependency packages as needed.

donzelli wrote on Jul 25, 2011

Hi Mike,

thanks for your answer, it did work perfectly.
However, reading the gemini_v111beta2_rev.txt I remembered that Gemini package will not work with iraf v2.15. So I'll have to begin from scratch again.

regards

donzelli wrote on Jul 25, 2011

Hi again,

I apologize but at this time Im not quite sure what is the iraf version
I should instal, mac intel or macosx.
In about this mac I see: mac os x version 10.7.2,
processor 2.4 ghz intel core i5.

Could you please tell me what version should I install?

thanks

Mike Fitzpatrick wrote on Jul 25, 2011

For v2.14 you need 'macintel', for v2.15 it's 'macosx' for 32-bit machines and 'macintel' for 64-bit.

donzelli wrote on Jul 25, 2011

Hi and thanks again.

I've installed the as... file and now Im installing the ib... file.
However, when doing tar -xvf I got the following error message:

bash-3.2$ tar -xvf ib.macx.x86
x ./
x ./cl.e
x ./ecl.e
x ./IB.MACX.X86: Refusing to overwrite archive
x ./IRAF.NET
x ./irafks.e
x ./libbev.a
x ./libc.a
x ./libcur.a
x ./libcurfit.a
x ./libdeboor.a
x ./libds.a
x ./libex.a
x ./libgks.a
x ./libgsurfit.a
x ./libimd.a
x ./libex.a
x ./libgks.a
x ./libgsurfit.a
x ./libimd.a
x ./libimfort.a
x ./libiminterp.a
x ./libinterp.a
x ./libllsq.a
x ./libmain.o
x ./libmemdbg.a
x ./libncar.a
x ./libnlfit.a
x ./libsgi.a
x ./libslalib.a
x ./libstg.a
x ./libsurfit.a
x ./libsys.a
x ./libvops.a
x ./libxtools.a
x ./OBJS.arc.Z
x ./x_dataio.e
x ./x_images.e
x ./x_imdkern.e
x ./x_lists.e
x ./x_mkttydata.e
x ./x_ncar.e
x ./x_obsolete.e
x ./x_plot.e
x ./x_proto.e
x ./x_sgikern.e
x ./x_softools.e
x ./x_stdgraph.e
x ./x_system.e
x ./x_tv.e
x ./x_utilities.e
tar: Error exit delayed from previous errors.

I would appreciate very much your help again.
regards

donzelli wrote on Jul 25, 2011

by the way,
I have the same problem with the nb.macx.x86 file.

bash-3.2$ tar -xvf nb.macx.x86
x ./
x ./IRAF.NET
x ./libasttools.a
x ./libsmw.a
x ./NB.MACX.X86: Refusing to overwrite archive
x ./OBJS.arc.Z
x ./x_apextract.e
x ./x_apphot.e
x ./x_artdata.e
x ./x_astcat.e
x ./x_astutil.e
x ./x_bias.e
x ./x_ccdred.e
x ./x_crutil.e
x ./x_daophot.e
x ./x_dtoi.e
x ./x_generic.e
x ./x_irred.e
x ./x_longslit.e
x ./x_mtlocal.e
x ./x_nobsolete.e
x ./x_nproto.e
x ./x_obsutil.e
x ./x_onedspec.e
x ./x_photcal.e
x ./x_ptools.e
x ./x_quad.e
x ./x_quadred.e
x ./x_rv.e
x ./x_scombine.e
x ./x_vtel.e
tar: Error exit delayed from previous errors.

Mike Fitzpatrick wrote on Jul 25, 2011

These are normal output from using the 'v' flag. The write permission is removed from e.g. the IB.MACX.X86 file so it isn't removed during a sysgen of the system, the rest of the binaries unpacked correctly.

donzelli wrote on Jul 25, 2011

thanks again.
What I could not understand is why I had to put the bin files into the directories bin.macosx and noao.bin.macosx despite the architecture is macintel.
The install script stopped with an error message because it did not find the bin files there. I originally put the files in the bin.macinte and noao.bin.macintel directories.

regards

Mike Fitzpatrick wrote on Jul 25, 2011

Do you define an IRAFARCH=macosx in your .login or .cshrc file?

Last post on Jul 25, 2011