[Gate-users] Installation Gate_v7.2

David Boersma david.boersma at physics.uu.se
Wed Aug 31 16:24:49 CEST 2016


Hej ευαγγελια,

could you try the following command:

which root

If you can no answer, then root is not in your PATH. You can add to your 
path by finding the "thisroot.sh" script and sourcing it. Since you 
verified that root exists, I guess you will be able to find this script. 
On my system the full path is:

/usr/local/root-5.34.30/bin/thisroot.sh

So when I want to add (this version of) root to my PATH, then I run this 
in the terminal:

source /usr/local/root-5.34.30/bin/thisroot.sh

(Note that if you have several terminal windows and/or tabs open, this 
will ONLY add root to the PATH relevant for the tab/window in which you 
enter the source /path/to/thisroot.sh command, it does not change the 
PATH (and other variables) of the other already open terminal windows.)

If you now run "which root" again, it should tell you which executable 
you have in your PATH. In my case it would be:

/usr/local/root-5.34.30/bin/root

So after sourcing "thisroot.sh" you can now do (in the same shell) the 
"ccmake" stuff for Gate, and hopefully it does not complain about root 
anymore.

Note that ROOT is dynamically linked to Gate, so later on when you run 
Gate (in a new shell, or e.g. after rebooting) you need to "source" the 
"thisroot.sh" file again, to ensure that the correct ROOT version is 
indeed in your paths before you try to run Gate.

(And actually I am not so sure if Gate release 7.2 indeed can be 
compiled with ROOT v6, you may have to install a root v5 for Gate. The 
current development version *can* work with ROOT v6, I think, so the 
next Gate release should work with ROOT v6.)

Good luck,
David

Den 31/08/2016 kl. 15:53, skrev ευαγγελια τζαμπαζιδου:
> Dear Gate users,
>
> I'm trying to install Gate_v7.2 on Ubuntu 16.04LTS on virtual box
> machine. I'm also using gcc 5.4.0, geant4.10.2 and root 6.06.06. I have
> followed all the steps of the compilation instructions, I have installed
> already all the package requirements, clhep2.3.2.2, root_v6.06.06,
> geant4.10.2 and when I'm trying to install gate_v7.2,in command ''ccmake
> ../gate_7.2'' I get this error when I press c to configure:
>
>
>  Root not found! Please install Root and make it available in PATH
>
>  Your current Geant4 version is 10.2.1
>
> I have checked from the terminal that root does exist and runs
> normally. If anyone has any tips or pointers, they would be very much
> appreciated.
>
> Thank you in advance.
>
>
>
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


More information about the Gate-users mailing list