next up previous contents 5
Next: Testing the Installation Up: Installation Previous: Using CVS for source   Contents

Obtaining and Building the Software

NOTE: This documentation was tested against gcc version 3.2.3 on Linux Red Hat Enterprise.

  1. Create a new directory to install the software in. This documentation will refer to this directory as the 'DCS root' directory and the examples will use a 'DCS root' directory of ~/release-4_1/.

    mkdir release-4_1

  2. cd release-4_1

  3. Log in to CVS replacing yourusernameName in the following line with your account name.

    cvs -d :pserver:yourusername@smb.slac.stanford.edu:/home/code/repository login
    Logging in to :pserver:yourusername@smb.slac.stanford.edu:2401/home/code/repository
    CVS password:
    

  4. Checkout the batchbuild project, replacing yourusernameName in the following line with your account name.

    cvs -d :pserver:yourusername@smb.slac.stanford.edu:/home/code/repository checkout -r release-4_1 batchbuild

  5. Change into the batchbuild project directory.

    cd batchbuild

  6. Edit the makefile in the batchbuild directory, find the CVSCOMMAND definition, and change it as follows in order to have the makefile access the CVS repository remotely:

    CVSCOMMAND=cvs -d :pserver:yourusername@smb.slac.stanford.edu:/home/code/repository 
    #CVSCOMMAND=cvs
    

  7. From within the batchbuild directory, type the following to download the complete software:

    gmake co

  8. From within the batchbuild directory, type the following to build the software:

    gmake basic

  9. Correct any build errors in your environment until the gmake command completes successfully.


next up previous contents 5
Next: Testing the Installation Up: Installation Previous: Using CVS for source   Contents
Scott McPhillips 2011-07-06