Installing SUSI Software on a Laptop

This document will describe how to install SUSI software on a laptop for the purpose of observing.

Firstly, make sure you have cvs, and gtk-2.0 installed. e.g. use fink, macports or apt-get.

Next, in your .bashrc or .cshrc file, input the following lines:
(for .cshrc)
setenv CVSROOT :ext:peleas_cvs:/usr/local/susi/cvsroot
setenv PATH $PATH:/usr/local/susi/bin
alias cvs_tunnel 'ssh -N -L3001:peleas:22 &'
(for .bashrc)
export CVSROOT=:ext:peleas_cvs:/usr/local/susi/cvsroot
export PATH=$PATH:/usr/local/susi/bin
alias cvs_tunnel 'ssh -N -L3001:peleas:22 &'

In your .ssh/config:

host peleas_cvs
hostname localhost
port 3001
user mireland

Make sure you can to a password-less login to rocs as observe (for the cvs_tunnel above)

[for the last line, insert your username]

Start a new terminal and execute the following commands...

cvs checkout lib
cvs checkout src
sudo mkdir /usr/local/susi

Copy one of the following files to /usr/local/susi/ For linux or for macports, copy . For OSX with Fink as the way to install linux programs, try .

cd lib
make CLIENT=true
(NB Maybe there will be a weird error here... if so, go to the cliserv directory and type "make". At least that's what Kim did.)
sudo make CLIENT=true install
cd ../src
sudo make install

Things that might fail
If you try to install the server software or libraries, you'll need:
sudo apt-get install libncurses5-dev
The following two files should be installed by default... but when things change at SUSI they can need changing. Copy to /usr/local/susi/etc/susi_sockets, and put (to be run as root prior to starting) in a convenient place.