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 (note
    1. Note the specification of the "-lpython2.5" in the command
    1. 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
    1. :