I am trying to get PyROOT to work. So I follow the (somewhat confusing) directions on
root.cern.ch/drupal/content/pyroot
I use this to configure, and it works fine
./configure linuxx8664gcc --enable-python --with-python-incdir=/usr/include/python2.7/ --with-python-libdir=/usr/lib/x86_64-linux-gnu/
and make builds everything without any errors.
These are my python and root related env. variables:
[quote]>echo $PYTHONPATH
~/python:/usr/local/farm/root_v5.34.18/lib
echo $LD_LIBRARY_PATH
/usr/local/farm/CLHEP/2.0.4.7/lib:/usr/local/farm/root_v5.34.18/lib
[/quote]
I suppose the only part missing is the PYTHONDIR env. variable – the instructions were
completely unclear as to what it’s supposed to point at.
In python, when I try to import TCanvas using
I get segfault.
Is this because the PYTHONDIR (whatever it is) is not included in LD_LIBRARY_PATH? And if so, what should that variable point to?