I just wanted to update my root. It seems that I need to enable cling now for PyROOT to be enabled. So I did and complied everything. Unfortunately PyRoot works no more:
In [1]: from ROOT import TGraph
Error in <TClingCallFunc::SetFuncProto>: Method IsBatch() has no body.
cling support is still under development (I have many open bug reports on root/meta, including on the particular issue that you see here). You can, for a short while still, copy $ROOTSYS/bindings/pyroot from v5-34 into trunk. That’ll work until CINT gets removed completely.
is cling still enabled? The original version of PyROOT used ROOT/meta already in several places. If cling is enabled, gInterpreter will be TCintWithCling rather than TCint.
I was expecting --enable-python to override that, but it’s not the case. I’m afraid you have to edit the configure file, and remove:if test ! "x$enable_python" = "xno" ; then
# PyROOT depends on cling
message "Checking for PyROOT prerequisites"
if test ! "x$enable_cling" = "xyes"; then
enable_python="no"
result "no (cling disabled)"
else
result "yes"
fi
fi
Anyway, this is only for a couple more days or so, when CINT is completely removed.
OK, so I’ll wait. I just needed to update from 5.32 to 5.34, so I decided to try svn. But trying to fix the issue I already compiled 5.34, so I may as well wait Thanks for help!