Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  Testing has commenced.  Heather is testing OmniOrb against a locally modifed OmniOrb CMT requirements file (which points to the 4.1.2 version of OmniOrb with the new directory structure)

ROOT v5.20.00-gl1

Mac (tiger-i386-32bit) operating system

ROOT is available here /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ROOT/root-v5.20.00-gl1.src.tg

Extract contents of root-v5.20.00-gl1.src.tgz to a temporary directory

set ROOTSYS to the `root' directory

(red star) You must remove /sw/bin from PATH variable to avoid the configure script from detecting, and attempting to use, Fink.

Add $ROOTSYS/bin to PATH and $ROOTSYS/lib to LD_LIBRARY_PATH

Code Block

setenv PATH ${ROOTSYS}/bin:${PATH}
setenv DYLD_LIBRARY_PATH ${ROOTSYS}/lib:${DYLD_LIBRARY_PATH}

3) Now type the build commands, with the following parameters:

Code Block

configure macosx --fail-on-missing --disable-mysql --enable-xrootd --with-python-incdir=/afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl1/gcc40/include/python2.5/ --with-python-libdir=/afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl1/gcc40/lib/python2.5/config/ --enable-reflex --enable-cintex --enable-roofit --disable-odbc --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink --enable-python
make

Ignore the following errors:

Code Block

Error: string() declared but not defined prec_stl/vector:422:
Error: string() declared but not defined prec_stl/list:187:
./configure: line 1: freetype-config: command not found

(plus) Now you must rebuild libPyROOT.so as a bundle and replace $ROOTSYS/lib/libPyROOT.so with it. 

  1. Go to the directory $ROOTSYS/bindings/pyroot/src
  2. set PYTHONSYS to the 'python' directory
  3. Enter the following command (replace the paths to python with the location of the python version from which you are building against)
    Code Block
    
    g++ -flat_namespace -bundle *.o -bundle_loader $PYTHONSYS/bin/python -L$ROOTSYS/lib -ldl -L$ROOTSYS/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread -L$ROOTSYS/lib -lReflex -ldl -L$PYTHONSYS/lib/python2.5/config/ -lpython2.5 -L$ROOTSYS/lib -lCore -lCint -o libPyROOT.so
    cp libPyROOT.so $ROOTSYS/lib