----------------------------------------------------from ~/software/aster/INSTALL_aster
yesterday we tried to install the ndaq code on the dell c400.  

the results are in:

  -rwxrwxrwx   1 sburns     368114 Feb 12 15:57 World.linux.dell.c400.070212.txt*

it seems we don't have the correct compilers (when we tried to create
the aster binaries)....here's some info on ideas to try:

http://heasarc.gsfc.nasa.gov/lheasoft/supported_platforms.html

        yum install compat-gcc-32
        yum install compat-gcc-32-c++
        yum install compat-gcc-32-g77

# Before configuring and building HEASoft, you should set the relevant
   environment variables to use this set of compilers:

        setenv CC gcc32
        setenv CXX g++32
        setenv FC g77
  







-------------------------------------------
Currently the aster base software builds and runs on these UNIX platforms:


The aster directory can be placed anywhere on the system.
The installed software resides entirely within the aster directory.

To Install:

0. Tools needed to build and install aster software:
	gcc/g++		a recent version
	bison		from GNU too
	make,lex,rpcgen
			make sure these are in your path
		
1. Choose where to put the ASTER tree, for example /usr/local:

   cd /usr/local

2. Un-tar the distribution:
  
   gunzip -c aster.tar.gz | tar xf -
	
3. Set the ASTER environment variable to the location of the aster directory.
   For example, if the aster directory is on /usr/local/aster:

   setenv ASTER /usr/local/aster
  
4. cd $ASTER
4.5 You may have to make changes to imakeconfig/cf/site.def, depending
   on what version of gcc you have and where gcc is installed:

    #define CplusplusDependIncludes -I/usr/local/include/g++-3
    #define DependFlags -DSVR4 -Dsun -I/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include
    #define LdPostLib -R/usr/local/gnu/lib

5. make -f Makefile.ini Makefile
6. make World >& World.linux
   or
   make World >& World.sparc
   Look over log file

7. make install

8. Install ingest and serial_ingest as suid-to-root programs.
   Become root, then
	ASTER=/usr/local/aster
	export ASTER
	PATH=$PATH:/usr/ccs/bin
	export PATH
	cd $ASTER/src/ingest
	make rootinstall

9. Set names of config and ingest server to whatever host will be
   running adamserver and ingest (usually the same host).

   cd $ASTER
   cat > default_config_server
   aster
   ctrl^d

   cd $ASTER
   cat > default_ingest_server
   aster
   ctrl^d

10. To configure a user's account (currently only the csh or tcsh shells
   are supported), add the following to their .login:

	setenv ASTER /usr/local/aster
	setenv PROJECT XXXXX
	source $ASTER/scripts/aster.login

    Add the following to their .cshrc:
	setenv ASTER ...
	source $ASTER/scripts/aster.cshrc

    Have the user logout and login, then do "which prep" to see
    if things are setup properly.

11. As root, copy $ASTER/adm/etc/init.d/aster to /etc/init.d.
    Change the userid if necessary. Create a link to /etc/rc3.d:

    cd /etc/rc3.d
    ln -s /etc/init.d/aster S80aster

12. As root, edit /etc/syslog.conf, adding lines from
	$ASTER/adm/etc/syslog.conf
    Create any necessary syslog files, as mentioned in 
	$ASTER/adm/etc/syslog.conf
    Send a HUP to syslog:  kill -HUP `cat /etc/syslog.pid`

13. If you are using VxWorks ADAMs, create $ASTER/config/hosts,
    adding any addresses and names that the ADAMS will need -
    usually this can be an empty file.  If not, it is in the format
    of /etc/hosts.

14. Create log directory:
    mkdir $ASTER/log

Have fun...

---------------------------------------------------------------------
Date: Wed, 16 Jun 2004 12:22:47 -0600
From: Gordon Maclean <maclean@ucar.edu>
To: Sean Burns <sburns@specialk.Colorado.EDU>
Subject: Re: Plan for russter/russter2...

Sean,

I've built the aster code on russter2.

A while back we built it on Steve Oncley's system which has
RedHat Fedora core 1.  We fixed some build
problems then, so things built with no errors on russter2.


In order for logbook to work, we need Orrie to install an
RPM package:

	tclx

FYI here's how to do CVS stuff on russter2:


create ~/.ssh/config on russter2 with an editor. Put these lines in it:

      # Needed for ssh tunnel to NCAR systems.
      Host localhost
      Port 5000
      IdentityFile ~/.ssh/sb-cvs-id_dsa

Then do:

   chmod 600 .ssh/config
   ssh-keygen -f $HOME/.ssh/sb-cvs-id_dsa -t dsa

ssh-keygen will ask you for a pass-phrase.  These days sys-admins don't
want you to use an empty pass-phrase.  Also one should probably not use
your login password.


Then, on russter2, do:

   ssh -L 5000:syrah.atd.ucar.edu:22 sburns@roy.scd.ucar.edu

You'll have to enter a bunch of stuff - I know it's a hassle.

You'll need your password on the gate, then your crypto-card one-time
password, then you have to enter "syrah.atd.ucar.edu", then
you have to enter your password on syrah!


That creates a tunnel between port 5000 (open available port) on the
localhost to port 22 (the ssh port) on syrah.

Then in another window, you can enter CVS commands from russter2.
When you enter a cvs command you be prompted for either your
passphrase on russter2 or your login password on syrah.

	cd $ASTER
	cvs update
         cvs ci -m "make some changes" some_file.xxx
         cvs status another_file.yyy


Gordon
