Is that the installing directory or what ?
But now when I try to upload the package, i type the following:
[code]export PATH=/usr/bin/root:$PATH
[/code]
and it still gives me the same error:
[code]ROOT binary folder must be placed in the global environment variable $PATH
[/code]
Cheers,
S.
Is that the installing directory or what ?
But now when I try to upload the package, i type the following:
export PATH=/usr/bin/root:$PATH
and it still gives me the same error:
ROOT binary folder must be placed in the global environment variable $PATH
The message in question is just a suggestion of what could be the origin of the problem. But looking at the code it is complaining of not finding root-config, which is actually the problem.
self.logger.error('ROOT module called "root-config" is not detected.\n'\
+'Two explanations :n'\
+' - ROOT is not installed. You can download it '\
+'from http://root.cern.ch\n'\
+' - ROOT binary folder must be placed in the '\
+'global environment variable $PATH')
I tried :
export PYTHONPATH=$PYTHONPATH:/usr/lib/i386-linux-gnu/root5.34
but the same error …
You see I have on my pc an old root-> root5 for 32 bit gcc (in which I were asking in the beginning of the question how to find the extension of its home folder), in which its lib in (/usr/lib/i386-linux-gnu/root5.34/), while I’m try to link MadA with other version of root -> root6, but where its PyROOT. so libraries ?
The newest version of ROOT is 6.06/04. See root.cern.ch/content/release-60604
You should build ROOT 6 using CMake. See the instructions at root.cern.ch/installing-root-source
You should not mix versions . Setting the PYTHONPATH to version 5 and the rest to version 6 is very bad.
To set the proper environment you just need to source /bin/thisroot.sh