Install the IRC/IRS

Checkout IRC/IRS source from the LBTO svn

% cd tcs/irtc

% svn checkout https://svn.lbto.arizona.edu/repos/irtc/branches/AO v2.0
A    irtc/config.h.in
A    irtc/configure
A    irtc/Makefile.in
A    irtc/TODO
A    irtc/config
A    irtc/config/mkinstalldirs
A    irtc/config/m4
A    irtc/config/m4/ice.m4
...
...
...

Required Software Packages

% cd tcs/irtc

% more README

Installing DirtI
----------------

What you need to run DirtI

  - Ice runtimes and developer kits for C++ mapping (version 3.2.1-1)
  - Libtool (at least version 1.5.6)
  - cfitsio (version 3.060 - http://heasarc.nasa.gov/fitsio/fitsio.html)  
  - Optional (XPA Tools and SAOImage ds9 - http://hea-www.harvard.edu/RD)
  - iif/ice. Get and copy Factory.ice and IIFServer.ice into src/Client

*Note* Need to add doxygen as a prerequisite as the "make" fails before complete if its not installed

ICE

Installation Instructions included in [[][Cent OS Instructions]]

Libtool

Installed with the standard CentOS installation

CFITSIO

Download the cfitsio source from http://heasarc.nasa.gov/docs/software/fitsio/fitsio.html by clicking Unix .tar file under "Complete V3.140"

% cd programs

% mv ~/Desktop/cfitsio3140.tar.gz .

% tar -xvzf cfitsio3140.tar.gz

% cd cfitsio

% ./configure --prefix=/usr/local

% make

% sudo make install

XPA

Download the XPA source from http://hea-www.harvard.edu/saord/xpa by clicking ".gzip" under "Download...via FTP"

% cd programs

% mv ~/Desktop/xpa-2.1.8.tar.gz .

% tar -xvzf xpa-2.1.8.tar.gz

% cd xpa-2.1.8

% ./configure

% make

% sudo make install

ds9

Download the ds9 binary from http://hea-www.harvard.edu/saord/ds9/index.html by clicking "Linux" under "DS9 Version 5.6 Binaries"

% cd programs

% mv ~/Desktop/ds9.linux.5.6.tar.gz .

% tar -xvzf ds9.linux.5.6.tar.gz

% sudo mv ds9 /usr/local/bin/.

IIF/ICE files

% cd tcs/irtc/src/Client

% cp ~/tcs/b24/iif/ice/Factory.ice .

% cp ~/tcs/b24/iif/ice/IIFServer.ice .

Compile IRC/IRS

% cd tcs/irtc

% make -f Makefile.cvs

% ./configure

% make

*Note* The make outputs a lot of extra stuff. I would prefer that the loops and branches in the Makefiles were not printed to stdout (pretend @ to lines in Makefile). The make also outputs info when a directory is changed. I would prefer that this also be turned off (use "make -C $$i --no-print-directory")

*Note* lyx is not installed, nor available via yum, under Cent OS 5.3. IRC/IRS still compiles.

% sudo make install

Environment Variables

edit .bashrc in home directory and set:

export IRS_CONFIG=/usr/local/share/etc/config.server
export IRC_CONFIG=/usr/local/share/etc/config.client

or edit .cshrc in the home directory and set:

setenv IRS_CONFIG /usr/local/share/etc/config.server
setenv IRC_CONFIG /usr/local/share/etc/config.client

Configuration

As root, add irs and iif to localhost list:

% emacs /etc/hosts
127.0.0.1		localhost.localdomain localhost irs iif

-- DougMiller - 27 Apr 2009
Topic revision: r2 - 24 Sep 2009, DougMiller
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback