Importing ROOT objects fails

Hi,

I tried to build ROOT 5/18 from scratch and I have a problem when loading ROOT classes in python (2.4.3). In the ROOT configuration I disabled mathmore and chirp because it was causing some problems on my system :
./configure --enable-rpath --prefix=/archive/home/buskulic/root
–disable-chirp
–disable-mathmore
–enable-python
–with-python-libdir=/usr/lib64
–with-python-incdir=/usr/include/python2.4/

Now, when I try to load a class, I get the following error :

from ROOT import TGraph
Error: cannot open file “iostream” (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file “_string” (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file “vector” (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file “pair” (tmpfile):2:
*** Interpreter error recovered ***
Error: cannot open file “RtypesCint.h” (tmpfile):2:
*** Interpreter error recovered ***

Has anyone experienced this behaviour ?

OOPS ! I just saw that this behaviour is also present when launching root itself… this message would be better in ROOT Support, but well…

Any help would be welcome (again !)

Cheers

Damir

Hi Damir,

Did you run the ‘gmake install’? Did it succeed?

Cheers,
Philippe

Hi Philippe,

Indeed, I tried to install ROOT in the same directory where I built it. Stupid mistake. But if you do “gmake install” after the gmake, the system will tell you that everything is already installed.
Maybe it would be good to warn users ?

Anyway, now it is working fine.

Thanks

Damir