HOWTO build AMC13 C++ software on using a private source tree, so that your work will not affect that of others. This is IMHO the preferred way to work (ESH).

Find the current release script, usually in ~daqowner, named installDAQ_xx_xx_x.perl. Copy to your home directory.

If you want to use anonymous CVS (not password prompts), edit the script, search for "anonymous" and remove the comment mark

=source source ~daqowner/dist/etc/ = or =source source ~daqowner/dist/etc/env.csh=
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PWD}/lib/linux/x86_64_slc5/

perl ~/installDAQ_xx_x_x.perl --mode=teststand --ownsource=${HOME}/src/xx_x_x --packages=hcalUpgrade

cd src/xx_xx_xx/hcal/hcalUpgrade/
cvs update -A -d       (optional, if you want CVS code updated since the release)
cd ipbus
cd ..
cd amc13
source     (maybe only needed for python)

To run the command-line tool:


To make changes in the code (your private copy):

cd src/common

edit files as desired. Go back up to .../amc13 and Make to re-compile.

-- EricHazen - 13 Apr 2012

This topic: BUCMSPublic > WebHome > HcalDTC > AMC13CppSoftwareBuildNotes
Topic revision: r3 - 14 May 2012 - CharlieHill
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback