[Gate-users] Trouble installing GATE

Alexandre Dupas alexandre.dupas at gmail.com
Thu Feb 10 21:14:19 CET 2011


Hello,

Actually, you have to define some environment variables to allow the
build system to retrieve the root install directory.

The main variable is ROOTSYS that you can define using

export ROOTSYS=/path/to/root/installation/directory

See for more details the "Setting environment variable" section of the
following page : http://minos.phy.bnl.gov/software/rug/rug26.html

I hope this help,

Best regards,
Alexandre
--
Alexandre Dupas
Postdoctoral Research Fellow
INSERM U698, Bichât Médecine Nucléaire

2011/2/10 Tuan <huynht4 at mcmaster.ca>:
> Hi,
>
>     I. I've been trying to install GATE on a new system.  I've followed
>        the instructions on the Installation Guide to the letter but I
>        keep getting this error when I use make:
>
> tuan at tuan-Inspiron-560:~/GATE_ROOT/gate_v6.0_p01$ source env_gate.sh
>
> The current value of G4INSTALL is: /home/tuan/GATE_ROOT/geant4.9.2.p04
> The current value of G4VERSION is: 9.2
>
> Launching Geant4 configuration
> script /home/tuan/GATE_ROOT/geant4.9.2.p04/env.sh
>
> On this machine the G4SYSTEM=Linux-g++
> On this machine the G4INSTALL=/home/tuan/GATE_ROOT/geant4.9.2.p04
> On this machine the
> G4INCLUDE=/home/tuan/GATE_ROOT/geant4.9.2.p04/include/
> On this machine the G4LIB=/home/tuan/GATE_ROOT/geant4.9.2.p04/lib
> On this machine the
> G4LEVELGAMMADATA=/home/tuan/GATE_ROOT/geant4.9.2.p04/data/PhotonEvaporation2.0
> On this machine the
> G4RADIOACTIVEDATA=/home/tuan/GATE_ROOT/geant4.9.2.p04/data/RadioactiveDecay3.2
> On this machine the
> G4LEDATA=/home/tuan/GATE_ROOT/geant4.9.2.p04/data/G4EMLOW6.2
> On this machine the
> G4NEUTRONHPDATA=/home/tuan/GATE_ROOT/geant4.9.2.p04/data/G4NDL3.13
> On this machine the
> G4ABLADATA=/home/tuan/GATE_ROOT/geant4.9.2.p04/data/G4ABLA3.0
> On this machine the CLHEP_BASE_DIR=/home/tuan/GATE_ROOT/2.0.4.2
> On this machine the
> CLHEP_INCLUDE_DIR=/home/tuan/GATE_ROOT/2.0.4.2/include
> On this machine the CLHEP_LIB_DIR=/home/tuan/GATE_ROOT/2.0.4.2/lib
> On this machine the CLHEP_LIB=CLHEP
> On this machine the G4UI_USE_TCSH=1
> On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
> On this machine the G4VIS_USE_OPENGLX=1
> On this machine the XMFLAGS=
> On this machine the XMLIBS=
> On this machine the XMFLAGS=
> On this machine the XAWFLAGS=
> On this machine the XAWLIBS=
> On this machine the G4LIB_BUILD_STATIC=1
> On this machine the G4LIB_USE_GRANULAR=1
>
> Configuring GATE options
>
> G4WORKDIR set to .
> G4TMP set to ./tmp
> G4BIN set to ./bin
> Data analysis and output features enabled
> Ascii data output enabled
> Transport and generation of optical photons is disabled
> Checking your LD_LIBRARY_PATH variable...
>  ==> OK: /home/tuan/GATE_ROOT/root/lib is already in your
> LD_LIBRARY_PATH
> Use of ROOT enabled
> ROOT real-time plotter disabled
> LMF data output disabled
> ECAT7 data output disabled
> GATEHOME is set to /home/tuan/GATE_ROOT
> Checking your path variable...
>  ==> OK: /home/tuan/GATE_ROOT/bin/Linux-g++ added to your path variable
> Checking your LD_LIBRARY_PATH variable...
>  ==> OK: /home/tuan/GATE_ROOT/tmp/Linux-g++/Gate added to your path
> variable
> G4VERSION9_2 is set: GATE is compatible with the geant4 version 9.2
>
> Done
>
> tuan at tuan-Inspiron-560:~/GATE_ROOT/gate_v6.0_p01$ make
> Making dependency for file Gate.cc ...
> ./source/physics/include/GateSourcePhaseSpace.hh:14: fatal error:
> TROOT.h: No such file or directory
> compilation terminated.
> Entering source/arf ...
> GNUmakefile:8: *** missing separator.  Stop.
> source/arf finished
> Entering source/geometry ...
> GNUmakefile:8: *** missing separator.  Stop.
> source/geometry finished
> Entering source/general ...
> GNUmakefile:8: *** missing separator.  Stop.
> source/general finished
> Entering source/digits_hits ...
> GNUmakefile:8: *** missing separator.  Stop.
> source/digits_hits finished
> Entering source/physics ...
> GNUmakefile:8: *** missing separator.  Stop.
> source/physics finished
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> g++: *.o: No such file or directory
> make: *** [tmp/Linux-g++/Gate/libGate.so] Error 1
> tuan at tuan-Inspiron-560:~/GATE_ROOT/gate_v6.0_p01$
>
> It seems like Root wasn't installed properly so I've tried reinstalling
> it a few times (different versions as well) to no avail.  What could be
> the problem?
>
> Thanks,
> Tuan Huynh
>
>
> _______________________________________________
> 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