Download 2dfdr Maintenance Guide - AAO - Anglo

Transcript
Sub-systems marked with * are the components of 2dfdr itself. The remaining subsystems are dependencies.
2.5
Future changes to build system
This section notes intended future changes to the release and build procedure.
2.5.1 2dfdr
The build procedure needs to check the Tcl and Tk versions used are compatible with
those used by Starlink. This can be done in the post fetch or pre build hooks.
A way is needed to extract the acmmSystem files to allow a build without having
access to the ACMM library.
A way is needed to extract the definitions needed to build the individual components
(the post build hook could extract the environment variable values into a file).
2.5.2 DRAMA
DRAMA must be changed such that instead of having to override the values of the
SYSTARGET, SYSHOST and SYSRELEASE, only one value needs to be
overridden.
The DRAMA configuration files must be changed such that we can specify the
location of Tcl/Tk independently of specifying the locations of X11 and other things
required to link Tcl/Tk.
2.6
ACCM
2.6.1 Setting Up for ACMM
ACMM is the AAO source code archiving system. In order to use ACMM certain
files and environment variables must be set appropriately. If the command
“acmmWho” returns an error indicating an unknown command, then the setup is not
correct. To do so, execute the setup line from the following table according to your
location and shell. This line can be added to your shell start up script so that ACMM
commands are always available.
Location
Shell
ACMM Set up Line
Epping Solaris
sh/zsh/bash/ksh
. /local/soft/solaris/acmmlib/acmm_setup.sh
Epping Solaris
Csh/tcsh
source /local/soft/solaris/acmmlib/acmm_setup.csh
Epping Linux
zsh/bash/ksh
. /local/soft/linux/acmmlib/acmm_setup.sh
Epping Linux
Csh/tcsh
source /local/soft/solaris/acmmlib/acmm_setup.csh
Coona Solaris
sh/zsh/bash/ksh
. /instsoft/acmm/acmmlib/acmm_setup.sh
Coon Solaris
Csh/tcsh
source /instsoft/acmm/acmmlib/acmm_setup.csh
7 of 42