[Gate-users] issue when installing Gate

Nick Laver Nick.Laver at kromek.com
Wed Dec 28 12:53:16 CET 2011


Good Morning Gate Users,

I am attempting to install a local copy of Gate on my laptop to test changes before I commit them to a conical copy on a simulations farm but I am running into a bit of a problem (hopefully one which is really easy to fix and I am being silly)

I have installed Geant4, CLHEP, ROOT etc etc but can't seem to get Gate to compile.

sourcing env_gate.sh gives me the response

The current value of G4INSTALL is: /home/laver/geant4/geant4.9.2.p04
The current value of G4VERSION is: 9.2

Launching Geant4 configuration script /home/laver/geant4/geant4.9.2.p04/env.sh

On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/laver/geant4/geant4.9.2.p04
On this machine the G4INCLUDE=/home/laver/geant4/geant4.9.2.p04/include/
On this machine the G4LIB=/home/laver/geant4/geant4.9.2.p04/lib
On this machine the G4LEVELGAMMADATA=/home/laver/geant4/geant4.9.2.p04/data/PhotonEvaporation2.0
On this machine the G4RADIOACTIVEDATA=/home/laver/geant4/geant4.9.2.p04/data/RadioactiveDecay3.2
On this machine the G4LEDATA=/home/laver/geant4/geant4.9.2.p04/data/G4EMLOW6.2
On this machine the G4NEUTRONHPDATA=/home/laver/geant4/geant4.9.2.p04/data/G4NDL3.13
On this machine the G4ABLADATA=/home/laver/geant4/geant4.9.2.p04/data/G4ABLA3.0
On this machine the CLHEP_BASE_DIR=/home/laver/CLHEP
On this machine the CLHEP_INCLUDE_DIR=/home/laver/CLHEP/include
On this machine the CLHEP_LIB_DIR=/home/laver/CLHEP/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_BUILD_RAYTRACERX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_RAYTRACERX=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
 ==> /home/laver/root_gate/root/lib added to 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/laver/Gate/gate_v6.0_p01
Checking your path variable...
 ==> OK: /home/laver/Gate/gate_v6.0_p01/bin/Linux-g++ added to your path variable
Checking your LD_LIBRARY_PATH variable...
 ==> OK: /home/laver/Gate/gate_v6.0_p01/tmp/Linux-g++/Gate added to your path variable
G4VERSION9_2 is set: GATE is compatible with the geant4 version 9.2

Done

likewise if I type

echo $ROOTSYS

I am greeted with;

/home/laver/root_gate/root

however when I try to make Gate it appears that ROOT is not found i.e.

laver at ubuntu:~/Gate/gate_v6.0_p01$ make
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
./source/physics/include/GateSourcePhaseSpace.hh:16:19: error: TTree.h: No such file or directory
./source/physics/include/GateSourcePhaseSpace.hh:17:20: error: TChain.h: No such file or directory
./source/physics/include/GateSourcePhaseSpace.hh:18:18: error: TH1D.h: No such file or directory
./source/physics/include/GateSourcePhaseSpace.hh:19:19: error: TMath.h: No such file or directory
./source/physics/include/GateSourcePhaseSpace.hh:20:18: error: TKey.h: No such file or directory

and so on,  I have checked that ~/root_gate/root contains an include directory and the files TROOT.h, TFile.h etc etc and all appears to be fine!

Has anyone an idea of what I need to do to get it to work?

Thanks in advance,

Nick


More information about the Gate-users mailing list