Download and Install TCS

Shell Setup

% cd /etc/profile.d

% sudo mkdir old

% sudo mv tcs.* old/.

% sudo mv tools.* old/.

% cd

-> edit .bashrc in home directory and set:

export LBTCONF_PATH=/home/tcs/TCS/v17/lbt.conf
export LBTCONF_LOCALE=testing

remove CVS_RSH and LBTO_DIR definitions

Logging Debug Information

Turn on the writing of debug information in to /var/log/debug (mainly used by OSS).

% cd /etc

% sudo emacs syslog.conf

Add at the end of the file

# OSS needs this to send extra "debug" information to the file listed  17Jan09 DLM
*.debug /var/log/debug

TCS Data Files

There are files needed by PCS, PSF and PMC. The default location of the files are /home/telescope/TCS/Configuration (this path is set in lbt.conf). If the telescope account does not exist then we must first make the account with "useradd"and turn it on with "usermod -U". We then place the needed files in this account.

% cd /home/telescope

% sudo mkdir TCS

% sudo chmod ugo+rwx TCS

% cd Configuration

% sudo mkdir Configuration

% sudo chmod ugo+rwx Configuration

% cd Configuration

% tar -xvzf /home/tcs/TCS/tools/tel_config_16jan09.tgz

Checkout TCS from LBTO svn repository

% cd

% mkdir TCS

% cd TCS

[tcs@aoserver TCS]$ svn co v17
Authentication realm:  LDAP
Password for 'tcs':   (press carriage return so prompted for user name)
Authentication realm:  LDAP
Username: dlmiller
Password for 'dlmiller': 
A    v17/pmc
A    v17/pmc/Motor.cpp
A    v17/pmc/Depends
A    v17/pmc/pmcgui
A    v17/pmc/pmcgui/otherform.ui
A    v17/pmc/pmcgui/hardptform.ui

Compilation without GUI's

% cd TCS/v17

% make RECIPE=nogui

Compilation with GUI's

% cd TCS/v17

% make

Permissions for GUI's

The GUI's require a directory in the qt tree allow a temporary file be written by the user so I executed:

% sudo chmod ugo+rwx /usr/lib/qt-3.3/etc/settings

-- DougMiller - 15 Jan 2009
Topic revision: r4 - 17 Jan 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