Which ROOT version are you trying to install?
It seems that your problem is common on old ROOT versions. This compilation problem may be fixed in the latest version (5.34/15).
I have seen similar problems when older parts of ROOT were present in the system. Even incomplete installations of previous version can create troubles. Could it be your case?
hi
my root is not in a directory,
it is in device called computer,
in terminal when i type
ramanpreet@raman-pc:~$ cd Computer
i got
bash: cd: Computer: No such file or directory
i typed code:
whereis root
i got
root: /usr/bin/root /usr/bin/root.exe /etc/root /usr/bin/X11/root /usr/bin/X11/root.exe /usr/include/root /usr/share/root /usr/share/man/man1/root.1.gz
i typed code:
cd /usr/bin/
and i used code:
rm -fr root
Oh oh, do not to stuff like “rm -r” in /usr/bin directory…
So, the result of the “whereis” command says that ROOT is installed (it does not mean it works well).
So let us start to the beginning.
Download the root archive from this link.
Open a terminal and go to the directory where the archive has been downloaded
Untar the archive with this command
Go to the new directory doing
Type
If you have no error message, log on you as root typing
and then your root password
7. Then type
make uninstall
lake distclean
to clean up you previous root installation
8. Unlog you typing “exit” (afet that you be logged as a “normal” user with your usual name)
9. Type
to compile ROOT
10. If the compilation went well, log on you as root with “su” command
11. Type