Checking mandatory packages:
- python [OK]
- python library: numpy [OK]
- g++ [OK]
- GNU Make [OK]
- Root [OK]
- PyRoot libraries [FAILURE]
** ERROR: ROOT file called ‘ROOT.py’ or ‘ROOT.pyc’ is not found
** ERROR: Please check that ROOT is properly installed.
When I write ‘gSystem->Load(“libPyROOT”)’ in root I get the following error:
Error: Symbol root[0]gSystem is not defined in current scope (tmpfile):1:
Error: Symbol gt is not defined in current scope (tmpfile):1:
(const int)0
*** Interpreter error recovered ***
Also, when I do ‘$ locate ROOT.py[/code]’ and ‘locate ROOT.pyc’ it doesn’t show anything:
jorge@jorge-HP-ENVY-15-Notebook-PC:/$ cd
jorge@jorge-HP-ENVY-15-Notebook-PC:~$ locate ROOT.py
jorge@jorge-HP-ENVY-15-Notebook-PC:~$ locate ROOT.pyc
jorge@jorge-HP-ENVY-15-Notebook-PC:~$
jorge@jorge-HP-ENVY-15-Notebook-PC:~$
Furthermore, when I write ‘gSystem->Load(“lROOT.py”)’ in root I get:
Error in TUnixSystem::DynamicPathName: lROOT.py[.so | .dll | .dylib | .sl | .dl | .a] does not exist in .::/usr/lib/x86_64-linux-gnu/root5.34:/usr/lib/x86_64-linux-gnu/root5.34/cint/stl
(int)(-1)
I searched and I don’t know how to install the PyROOT libraries, neither how to change the dir of ROOT.py to PYTHONPATH. I saw a post of a similar situation - [url]ROOT.py - but in this case he has alerady ROOT.py installed.
Looking at the output you show, I assume that your ROOT comes from the Ubuntu 14.04 distribution.
If this is the case, you probably need to install additional packages (well, at least “libroot-bindings-python5.34” and “libroot-bindings-python-dev”, I would say). Search for packages with names: “root-system*”, “root-plugin*” and “libroot*”.
The packages “libroot-bindings-python5.34” and “libroot-bindings-python-dev” were already installed, but I upgraded them and did ‘sudo apt-get check’. Now it shows ROOT.py and ROOT.pyc installed:
But when i run madanalysis5 I still get the same error.
When I do 'gSystem->Load(“lROOT.py”) ’ in root I still get an error:
Error in TUnixSystem::DynamicPathName: lROOT.py[.so | .dll | .dylib | .sl | .dl | .a] does not exist in .::/usr/lib/x86_64-linux-gnu/root5.34:/usr/lib/x86_64-linux-gnu/root5.34/cint/stl
(int)(-1)
Everything seems to be correctly installed, so I guess I have to move or copy some packages to a different path.