...
- Build by running "make >& build-snowleopard.log &"
- libPyROOT.dylib must be rebuilt, due to a need to make it a "bundle" rather than "shared library":
cd into pyroot/src directory and do:
g++ -flat_namespace -bundle *.o -bundle_loader $GLAST_EXT/python/2.6.5.1-g3/gcc40gcc42/bin/python -L$ROOTSYS/lib -ldl -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread -lReflex -L$GLAST_EXT/python/2.6.5.1-gl3/gcc40gcc42/lib/python2.56/config -lpython2.5 6 -o libPyROOT.dylib
See: https://savannah.cern.ch/bugs/index.php?22003 - The *.dylib files will have their references to other ROOT libraries hard-coded. This must be fixed before the libraries can be distributed. Both the ids and the ROOT libraries referenced must be updated.
- First check the id and references using:
otool -L name.dylib. i.e. otool -L libCint.dylib - Next update the id using the command:
install_name_tool -id newID fileName i.e. install_name_tool -id libCint.dylib libCint.dylib - For any ROOT libraries referenced do:
install_name_tool -change oldName newName fileName i.e install_name_tool -change $ROOTSYS/lib/libNet.dylib libNet.dylib libPyROOT.dylib
- First check the id and references using:
- Update etc/system.rootrc to include the lines:
# As suggested by Wilko, April, 2009, so that when a job writes to xrootd, missing directories are created upon request.
XNet.Mkpath: 1 - Copy the following into $GLAST_EXT using the directory structure:
ROOT/v5.26.00a-gl2/gcc42/
README bin build-tiger.log cint config-tiger.log doc etc fonts icons include lib macros man test tutorials
...