Project

General

Profile

Building fw externals v0_5_0

These instructions are explicitly for fw_externals v0_5_0, which contains:

Product Version Qualifier Notes
boost v1_34_1 requires python
clhep v2_0_4_7
cmake v2_6_4
cppunit v1_12_1
fw_externals v0_5_0 "container" for all other products
gccxml v0_7 build uses cmake
libsigcpp v2_2_7
python v2_4_2b
root v5_18_00f GCC_4_1_2 build requires many products
scons v1_3_0a requires python
upd v4_7_4a
ups v4_8_1

Generic build instructions

  • Follow the generic instructions using these source code tarballs:

Getting root for fw_externals v0_5_0

  • ROOT is a very complex product.
  • Many products are required when building root, however none of these are required to use root.
  • Products required when building root 5.18 include the CERN (Fortran) libraries, geant4, pythia6, dcap, gsl, clhep, python, fftw, and libxml2.
  • For fw_externals v0_5_0, which is used by framework 1.4, it is sufficient to install root via upd.
  • Unfortunately, this means that you will need to build root yourself or get it via some other mechanism if you are installing on an unsupported platform.
  • The getRoot.sh script will fail if you run it on an unsupported platform.
cd $PRODUCTS/root/v5_18_00f
./getRoot.sh
  • You can ignore the message that root has an INSTALL_NOTE.
  • However, you should see upd install succeeded. when the install completes.
  • You should also see "root is installed at ..."

Verify that ups recognizes all the products

  • Once you have finished installing fw_externals, you should verify that it is OK before proceeding. * List all the products in <product-dir>
ups list -aK+ -f `ups flavor`
  • Your output should look something like this:
"boost" "v1_34_1" "Linux64bit+2.6-2.5" "" "" 
"clhep" "v2_0_4_7" "Linux64bit+2.6-2.5" "" "" 
"cmake" "v2_6_4" "Linux64bit+2.6-2.5" "" "current" 
"cppunit" "v1_12_1" "Linux64bit+2.6-2.5" "" "" 
"fw_externals" "v0_5_0" "Linux64bit+2.6-2.5" "" "" 
"gccxml" "v0_7" "Linux64bit+2.6-2.5" "" "" 
"libsigcpp" "v2_2_7" "Linux64bit+2.6-2.5" "" "" 
"python" "v2_4_2b" "Linux64bit+2.6-2.5" "" "" 
"root" "v5_18_00f" "Linux64bit+2.6-2.5" "GCC_4_1_2" "" 
"scons" "v1_3_0a" "Linux64bit+2.6-2.5" "" "current" 
"ups" "v4_8_1" "Linux64bit+2.6-2.5" "" "current" 
  • Note that "Linux64bit+2.6-2.5" is the "ups flavor" associated with 64bit Scientific Linux 5.
  • If you are building on a different platform, you will see a different flavor and possibly a different root qualifier.
  • The following command should execute without complaint.
setup fw_externals v0_5_0