I am trying to install ROOT which I need for work. I run Ubuntu 10.04 64 bit on virtualbox on my laptop. After extracting the tarball, I try to source the .sh file using the command as suggested in the README
$ . pathname/root/bin/thisroot.sh
It shows me the following error:
$ . /home/username/Downloads/root/bin/thisroot.sh
bash:/home/username/Downloads/root/bin/drop_from_path: No such file or directory
bash:/home/username/Downloads/root/bin/drop_from_path: No such file or directory
bash:/home/username/Downloads/root/bin/drop_from_path: No such file or directory
bash:/home/username/Downloads/root/bin/drop_from_path: No such file or directory
bash:/home/username/Downloads/root/bin/drop_from_path: No such file or directory
bash:/home/username/Downloads/root/bin/drop_from_path: No such file or directory
bash: man: No such file or directory
Command 'dirname' is available in '/usr/bin/dirname'
The command could not be located because '/usr/bin' is not included in
the PATH environment variable.
dirname: command not found
/usr/bin/env: bash: No such file or directory
Command 'grep' is available in '/bin/grep'
The command could not be located because '/bin' is not included in the
PATH environment variable.
grep: command not found
Command 'grep' is available in '/bin/grep'
The command could not be located because '/bin' is not included in the
PATH environment variable.
grep: command not found
The result of this is that it somehow deleted the PATH, because now I cannot do anything else from the command line. For example:
$ vi README
Command 'vi' is available in '/usr/bin/vi'
The command could not be located because '/usr/bin' is not included in
the PATH environment variable.
vi: command not found
$ clear
Command 'clear' is available in '/usr/bin/clear'
The command could not be located because '/usr/bin' is not included in
the PATH environment variable.
clear: command not found
I have an Ubuntu 11.04 on my desktop at home, where this installation went smoothly. I also tried this on my office mac, but I don't know what is happening here.
thisroot.sh, or paste it here (or use pastebin if it's too long).set -x; /path/to/thisroot.shto see a trace of what the script is doing.