HI everybody,
I am trying to install root 6.24 via homebrew and tried:
brew install root@6.24.06
Sadly, this does not work. I am not an experienced user and therefore I need homebrew for the installation. Can anyone help or tell me, if it is even possible to install an older version.
Thank you for your answer. Unfortunately there seems to be no version of root 6.24 for MacOS 12.2.1. Can I simply install a version for an older MacOS?
Thanks,
Emil
Yes there is no compiled version of ROOT for MacOS 12.2.1. See Release 62408 - ROOT
At that time MacOS version was 11.7.
You can recompile root from source as explained here: Installing ROOT - ROOT
@couet Thank you for your answer. I am trying to do this and recompile root from source. Sadly this leads to the following error when building with cmake:
<<< cling interactive line includer >>>: fatal error:module file ‘/opt/homebrew/opt/rootbuild/lib/Rint.pcm’ is out of date and needs to be rebuilt: could not read module signature
<<< cling interactive line includer >>>: note: imported by module ‘MathCore’ in ‘/opt/homebrew/opt/rootbuild/lib/MathCore.pcm’
Error: Module ‘MathCore.pcm’ failed to load.
Error: Error loading the default rootcling header files.
I got it to work with my commands now. Apparently there was just one file not correct, which got built again after deleting it. Now root 6.24 actually works, but I get one error and several info:
Error in TCling::LoadPCM: ROOT PCM /opt/homebrew/opt/rootinstall/lib/libNet_rdict.pcm file does not exist
Info in TCling::LoadPCM: In-memory ROOT PCM candidate /opt/homebrew/opt/rootinstall/lib/libASImageGui_rdict.pcm
(There are more info’s but they are the similar with different pcm candidates).
As root seems to be working anyway, this is not urgent, but I would still like to get rid of these messages. Do you know what to change?
This seems to be a leftover of a previous installation of ROOT (presumably from Homebrew) in /opt/homebrew/opt/rootinstall/.
Probably your ${ROOTSYS} environment variable is pointing to that directory instead of pointing to where ROOT is currently installed.
As @couet said, you could try sourcing bin/thisroot.sh from your install directory, as in:
To the ~/.zprofile . And this is all working as root shows me that it’s version 6.24 and everything is running nicely. Therefore the problem is not urgent but it is a little bit annoying to get this error message every time I run root.
I also took a look and in the folder rootbuild/lib there is no file called libNet_rdict.pcm. Also make lib/libNet_rdict.pcm does not work, as the error message for that command is:
make: *** No rule to make target `lib/libNet_rdict.pcm’. Stop.
It seems that there might have been a problem during build of PCM files. As @couet pointed out, I would suggest limiting the number of parallel processes during build.
Maybe you can try removing lib/*.pcm files and let make trigger the rebuild of those
Unfortunately this does not solve the problem. However as everything I try to do with root seems to work anyway, I don’t think it is that necessary to solve this minor problem.
Thank you all for your help!