We ran into a problem this time with distribution of our linux build for ROOT.  It seems prefix cannot be used, so we must set the ROOTSYS env var for our build.  make install no longer seems to work unless prefix is used, so we are left to prune the resulting ROOT build directories on our own.

set ROOTSYS to the same directory as the source was checked out into.  cd into the root directory and then run configure:

./configure linux --disable-cern --enable-mysql --enable-xrootd --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32/python/2.5.1/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32/python/2.5.1/lib/python2.5/config --enable-mathcore --enable-mathmore --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink

./configure linux --fail-on-missing --enable-mysql --enable-xrootd --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32opt/python/2.5.1-gl1/gcc32/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32opt/python/2.5.1-gl1/gcc32/lib/python2.5/config --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink > & config.log &

./configure linux --fail-on-missing --enable-mysql --with-mysql-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/mysql/4.1.18/gcc34/include/mysql --with-mysql-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/mysql/4.1.18/gcc34/lib/mysql --enable-xrootd --enable-python --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/python/2.5.1-gl1/gcc34/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/python/2.5.1-gl1/gcc34/lib/python2.5/config --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink > & config-rhel4-3.log &

 
and then just copied the useful directories to another location

Also, make sure that the etc/system.rootrc file includes the line:

XNet.Mkpath: 1

As suggested by Wilko, April, 2009, so that when a job writes to xrootd, missing directories are created upon request.

  • No labels