ROOT Installation Unsuccessful bin/thisroot.csh (Newbie)

Hi all,

I am trying to install ROOT v6.02.03 on my Mac Yosemite 10.10. I made through everything except the last step, and it just could not finish.

After ROOT is built successful,I try to run

It gives me,

-bash: bin/thisroot.csh: line 15: syntax error near unexpected token `(' -bash: bin/thisroot.csh: line 15: `set ARGS=($_)

I am not sure whether it is because I cannot add bin/ to PATH and lib/ to LD_LIBRARY_PATH. I tried but the computer told me I do not have permission to edit .bash_profile

So I basically got stuck over there.

If there is any solution please comment below. Thank you so much.

Xiaocheng

Hi Xiaocheng,

try using

The .csh file is to be used with the c-shell, while you use the bash shell. The line you copy&pasted with its [c]sh is a short notation for using either thisroot.csh or thisroot.sh, depending on you environment.

btw - on MAC the equivalent of LD_LIBRARY_PATH is called DYLD_LIBRARY_PATH.

Cheers,
Benedikt

[quote=“hegner”]Hi Xiaocheng,

try using

The .csh file is to be used with the c-shell, while you use the bash shell. The line you copy&pasted with its [c]sh is a short notation for using either thisroot.csh or thisroot.sh, depending on you environment.

btw - on MAC the equivalent of LD_LIBRARY_PATH is called DYLD_LIBRARY_PATH.

Cheers,
Benedikt[/quote]

Problem solved! Thank you so much!