Versions Compared

Key

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

...

  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 againstnote the specification of the "-lpython2.5" in the command.  Make sure it corresponds to the correct python library version found in $PYTHONSYS/lib/python<A.B.>/config/ )
    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