Hello! I’m trying to install ROOT from source to my system (Linux Mint 19.3 Cinnamon), since I encountered some problems trying to install it differently (see post here).
Now, I’m following the steps found here. I downloaded root_v6.22.02.source.tar.gz and I completed the first 3 steps. However, I don’t understand what I have to do in the fourth step. I don’t believe just running
cmake --build . --target install [-- ]
does anything, so I run
cmake --build . --target install [–
cmake --build . --target install
to no avail, as the output was
make: *** No rule to make target ‘install’. Stop.
Unknown argument [–rootInstall= Project binary directory to be built. --target = Build instead of default targets. May only be specified once. --config = For multi-configuration tools, choose . --clean-first = Build target 'clean' first, then build. (To clean only, use --target 'clean'.) --use-stderr = Ignored. Behavior is default in CMake >= 3.0. -- = Pass remaining options to the native tool.
Usage: cmake --build [options] [-- [native-options]]
I don’t understand how to continue and the instructions aren’t clear. Can anybody help me, please? Thank you in advance!