CMLOG.tar.gz
SunOS.tar.gz
VXWORKSPPC.tar.gz
common.tar.gz
From the "docs" subdirectory, get the file "crlLang2.ps" - this describes the readout list syntax for CODA 2.0
From the "misc" directory, get the files "cedit" and "test_list.crl". The version of "cedit" in the distribution is buggy, so use this one to replace the one which after unpacking gets placed in /usr/local/coda/2.0dev/SunOS/bin/cedit
Note: This reflects the situation as of 04/28/98.
> mv SunOS.tar.gz /usr/local/coda/2.0dev
> mv VXWORKSPPC.tar.gz /usr/local/coda/2.0dev
> mv common.tar.gz /usr/local/coda/2.0dev
> gunzip *.gz
> tar xvf SunOS.tar
> tar xvf VXWORKSPPC.tar
> tar xvf common.tar
This should create the subdirectories "SunOS", "VXWORKSPPC" and "common" under "/usr/local/coda/2.0dev".
Next unpack CMLOG.tar.gz in "/usr/local".
> mv CMLOG.tar.gz /usr/local
> gunzip CMLOG.tar.gz
> tar xvf CMLOG.tar
This will unpack everything into /usr/local/CMLOG_2. For consistency, you should rename this as /usr/local/CMLOG. Then, set the ownership of this directory to user phobos and group staff.
You can now delete the tar files. Replace cedit as mentioned earlier.
setenv CODA_VERSION 2.0b2
setenv TCL_LIBRARY $CODA/common/lib/tcl7.4
setenv VXWORKS_ROOT /usr/wind
setenv EXPID test1
setenv DD_LIB $CODA_LIB
setenv CMLOGROOT /usr/local/CMLOG
# set path for shared libraries and binaries
set lpath = "`echo $path | sed s+$CODA_BIN++g`"
#!/bin/csh
setenv OSTYPE `uname|sed 's/-/_/'`
setenv CODA /usr/local/coda/2.0dev
setenv CODA_BIN $CODA/$OSTYPE/bin
setenv CODA_LIB $CODA/$OSTYPE/lib
setenv CODA_CBIN $CODA/common/bin
setenv TK_LIBRARY $CODA/common/lib/tk
setenv DP_LIBRARY $CODA/common/lib/dp
setenv TIX_LIBRARY $CODA/common/lib/tix
setenv TCLINCLUDE_DIR $CODA/common/include
setenv TKINCLUDE_DIR $CODA/common/include
setenv DD_BIN $CODA_BIN
setenv DD_DATA $CODA/common/dd/data
setenv dd_lib $CODA_LIB
setenv dd_bin $CODA_BIN
setenv dd_data $CODA/common/dd/data
setenv DD_LOGFILES_DIRECTORY $CODA/common/log
setenv DD_STATUS_FILE /tmp/dd_system
setenv DDD_CONFIGURATION_FILE $DD_DATA/dd_configuration_file
setenv CDEVDDL $CODA_LIB/coda.ddl
setenv CDEVSHOBJ $CODA_LIB
set lpath = ""
setenv LD_LIBRARY_PATH \
${CODA_LIB}:${CMLOGROOT}/lib/solaris:/usr/dt/lib:/usr/openwin/lib:$lpath
set path = ($CODA_BIN /usr/local/CMLOG/bin/solaris $lpath )
#!/bin/csh
setenv CODA /usr/local/coda/2.0dev
source $CODA/.setup
setenv EXPID phobos
setenv SESSION toftest
You have to source the ".setup" or "user.setup" file before staring CODA.
This completes the installation of CODA. At this point, if you have removed the tar files, approx 220 MB in "/usr/local" will be taken by CODA
NB: To run "cedit", you might need libXpm.so.4.10 in /usr/lib. I copied one from the ROOT v2.00 distribution (libXpm.so in ROOTLIBS)
Ashutosh Sanzgiri