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 : from ROOT import TGraph
Error in <TClingCallFunc::SetFuncProto>: Method IsBatch() has no body.
Can I do anything about it?
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.
Hmm, after compilation of 5.34? Cause I copied the source from 5.34 into the source of svn, recompiled and the problem still remains…
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.
But how to disable it without disabling python? If I make configure without -enable-cling, the python is not enabled…
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
result "no (cling disabled)"
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!