Help with installing ROOT

Hello I am trying to install the ROOT 6.09.02 … I have extracted tar file to Download folder and I created a folder “root_build” in my home directory.

After that I have typed in “cmake --build . --target -install” like the manual says.

However I get this following error

[100%] Built target PyMVA
Install the project…
– Install configuration: “RelWithDebInfo”
– Installing: /usr/local/etc/allDict.cxx.pch
CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot copy file
"/afs/" to

gmake: *** [install] Error 1

Could anyone help me about this matter?

Thank you

You do not have permissions to place files in /usr/local. You will either need to run the command with sudo privileges or change the install prefix to a location where you can copy the files:

cmake -DCMAKE_INSTALL_PREFIX=/home/user/root
1 Like

Thank you. Despite the fact that the installation is not completed, I can launch ROOT so I believe it is okay now. Thank you so much

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.