Project

General

Profile

06-Aug-2009 novatest01 log

06-Aug-2009, KAB

Note that I initially tried to use cstXSD 3.2.0 with xerces_c 3.0.1, but the format of the generated code change a bit. Rather than spend the time to update $RMS_DIR/tools/tailorXsdGeneratedClasses.pl, I simply recompiled the versions that we used in Fall 2007 on novatest01.

Here are the steps that I used to package xerces_c for UPS/UPD on novatest01:

  • Downloaded xerces-c-src_2_7_0.tar.gz from http://xerces.apache.org/xerces-c.
  • 'cd /fnal/ups/prd/xerces_c/v2_7_0'
  • 'tar --gunzip -xvf <downloadDir>/xerces-c-src_2_7_0.tar.gz'
  • 'mv xerces-c-src_2_7_0 Linux64bit-2.6-2.5'
  • 'cd /fnal/ups/prd/xerces_c/v2_7_0/Linux64bit-2.6-2.5'
  • 'export XERCESCROOT=`pwd`'
  • 'cd src/xercesc'
  • './runConfigure -plinux'
  • 'gmake'
  • created the UPS table file
  • 'ups declare -f Linux64bit+2.6-2.5 -r /fnal/ups/prd/xerces_c/v2_7_0/Linux64bit-2.6-2.5 -m xerces_c.table xerces_c v2_7_0'

Here are the steps that I used to package cstXSD for UPS/UPD on novatest01:

  • Downloaded xsd-2.3.1-x86_64-linux-gnu.tar.bz2 from http://www.codesynthesis.com/products/xsd. Uncompressed this file.
  • 'cd /fnal/ups/prd/cstXSD/v2_3_1'
  • 'tar -xvf <downloadDir>/xsd-2.3.1-x86_64-linux-gnu.tar'
  • 'mv xsd-2.3.1-x86_64-linux-gnu/ Linux64bit-2.6-2.5'
  • Created the UPS table file
  • 'ups declare -f Linux64bit+2.6-2.5 -r /fnal/ups/prd/cstXSD/v2_3_1/Linux64bit-2.6-2.5 -m cstXSD.table cstXSD v2_3_1'

Here are the steps that I used to build and package boost for UPS/UPD on novatest01:

  • started out working in my personal account...
  • downloaded boost_1_39_0.tar.gz from http://www.boost.org/users/download.
  • 'cd <workDir>'
  • 'tar --gunzip -xvf <downloadDir>/boost_1_39_0.tar.gz'
  • 'cd boost_1_39_0'
  • 'mkdir build'
  • './bootstrap.sh --libdir=<workDir>/boost_1_39_0/build/lib --includedir=<workDir>/boost_1_39_0/build/include'
  • './bjam --build-type=complete install'
  • switched to the products account...
  • 'mkdir /fnal/ups/prd/boost' # if needed
  • 'mkdir /fnal/ups/prd/boost/v1_39_0' # if needed
  • 'mkdir /fnal/ups/prd/boost/v1_39_0/Linux64bit+2.6-2.5'
  • 'cd /fnal/ups/prd/boost/v1_39_0/Linux64bit+2.6-2.5'
  • 'mkdir ups'
  • created boost.table file in ups subdirectory. (Could steal this from an earlier release, if available.)
  • 'cd /fnal/ups/prd/boost/v1_39_0/Linux64bit+2.6-2.5'
  • 'cp -pRv <workDir>/boost_1_39_0/build/* .'
  • 'ups declare -c -f Linux64bit+2.6-2.5 -r /fnal/ups/prd/boost/v1_39_0/Linux64bit+2.6-2.5 -m boost.table boost v1_39_0'