There aren’t really any instructions how to install/compile ROOT neither on root.cern.ch/downloading-root nor in the README files. This is what I tried:
Downloaded root_v6.06.08.source.tar.gz and unpacked it.
CDed into the root directory where I had unpacked it to.
./configure seems to run successful, a lot of information/success messages as far as I can tell, nothing says Error.
make ends with this error:
core/metautils/src/TMetaUtils.o: Datei nicht erkannt: Datei abgeschnitten
collect2: error: ld returned 1 exit status
/home/monika/programme/root/core/utils/Module.mk:39: recipe for target 'core/utils/src/rootcling_tmp' failed
make: *** [core/utils/src/rootcling_tmp] Error 1
where Datei nicht erkannt = file not recognized and Datei abgeschnitten = file cut off.
[quote=“doubleAron”]Hi,
Does this guide not cover it? Or am I missing something? root.cern.ch/building-root[/quote]
Ah, I didn’t find that guide.
Step 5 cmake --build . seems to have run successfully (counted up to 100%, no errors), I did step 6, sourcing the thisroot.sh … but I can’t run root (step 7). I get the error message that the application root is currently not installed.
No problem!
I’m not sure what is causing your current problem. Did you try running root from the same tab you sourced thisroot.sh in? Or are you sourcing thisroot.sh from your bashrc?
I found out that one can install ROOT 5 from the repository, the package name is root-system-bin.
Would be nice if they mentioned that somewhere on root.cern.ch/downloading-root , would have saved me several days of googling and trial and error :-/ . With a name like root it’s also not exactly easy to find in a repository.