[Gate-users] gate installation error

Alexandre Dupas alexandre.dupas at gmail.com
Sun Nov 7 20:36:49 CET 2010


Hi,

The error you encountered is caused by the Gate build system when it
does not find the Root include files. Before installing Gate, you have
to install Root and you have to define some environment variables to
tell Gate where Root is installed.

Can you tell us which version of Gate you are trying to install?

Here is the different variables that have to be set before compiling
Gate. You just have to replace the path with your own.

    export GATEHOME="/path/to/gate/install/directory"
    export G4INSTALL="/path/to/geant4/install/directory"
    export G4VERSION="9.1"
    export ROOTSYS="/path/to/root/install/directory"
    export ECAT7_HOME="path/to/ecat_7" # if needed
    export LMF_HOME="path/to/lmf" # if needed

Then you can source the gate_env file:

    . "/path/to/gate/install/directory/env_gate.sh"

And finally compile Gate:

    make

I hope this help. If you are using Gate v5, you can look at [1] in the
archive for an automated installation script. It can easily be adapted
for gate v6 by removing custom patches and using the propser gate
source version.

  [1] http://lists.opengatecollaboration.org/mailman/private/gate-users/2010-October/004575.html

Best regards,
Alexandre

--
Alexandre Dupas
Postdoctoral Research Fellow
INSERM U698, Bichat Médecine Nucléaire

2010/11/7 saeed heidary <saeedheidary79 at gmail.com>:
> dear user  i have  just stated installing gate
> and i encountered this error message
> Making dependency for file Gate.cc ...
> In file included from ./source/physics/include/GateSourceMgr.hh:20,
>                 from Gate.cc:21:
> ./source/physics/include/GateSourcePhaseSpace.hh:14:19: error: TROOT.h: No
> such file or directory
>
>  ./source/physics/include/GateSourcePhaseSpace.hh:15:19: error: TFile.h: No
> such file or directory
>
>
> and so on,
>
> any body knows the reason?
> thanks
> _______________________________________________
> 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