My env_gate.sh as follows. Please advise on what is my mistake:<br><br>export G4ANALYSIS_USE_GENERAL=1<br>export G4_USE_G4BESTUNIT_FOR_VERBOSE=1<br><br>export G4VERSION=9.4<br>export G4INSTALL=/home/siti/Gate6/geant4.9.4.p04<br>
export ROOTSYS=/home/siti/Gate6/root<br>export GATEHOME=/home/siti/Gate6/gate_v6.1<br><br>export LD_LIBRARY_PATH=$ROOTSYS/include/:$LD_LIBRARY_PATH<br>export LD_LIBRARY_PATH=/home/siti/Gate6/<a href="http://2.1.0.1/lib:$LD_LIBRARY_PATH">2.1.0.1/lib:$LD_LIBRARY_PATH</a><br>
export LD_LIBRARY_PATH=$GATEHOME/tmp/Linux-g++/Gate:$LD_LIBRARY_PATH<br><br>export PATH=$ROOTSYS/bin:$PATH<br>export PATH=$GATEHOME/bin/Linux-g++:$PATH<br><br><br>export LMF_HOME=/home/siti/Gate6/lmf_3.0<br>export ECAT7_HOME=/home/siti/Gate6/ecat_7<br>
<br><br>### source command result:<br>The current value of G4INSTALL is: /home/siti/Gate6/geant4.9.4.p04<br>The current value of G4VERSION is: 9.4<br><br>Launching Geant4 configuration script /home/siti/Gate6/geant4.9.4.p04/env.sh<br>
<br>On this machine the G4SYSTEM=Linux-g++<br>On this machine the G4INSTALL=/home/siti/Gate6/geant4.9.4.p04<br>On this machine the G4INCLUDE=/home/siti/Gate6/geant4.9.4.p04/include/<br>On this machine the G4LIB=/home/siti/Gate6/geant4.9.4.p04/lib<br>
On this machine the G4LEVELGAMMADATA=n/PhotonEvaporation2.1<br>On this machine the G4RADIOACTIVEDATA=n/RadioactiveDecay3.3<br>On this machine the G4LEDATA=n/G4EMLOW6.19<br>On this machine the G4NEUTRONHPDATA=n/G4NDL3.14<br>
On this machine the G4ABLADATA=n/G4ABLA3.0<br>On this machine the G4REALSURFACEDATA=n/RealSurface1.0<br>On this machine the G4NEUTRONXSDATA=n/G4NEUTRONXS1.0<br>On this machine the G4PIIDATA=n/G4PII1.2<br>On this machine the CLHEP_BASE_DIR=/home/siti/Gate6/<a href="http://2.1.0.1">2.1.0.1</a><br>
On this machine the CLHEP_INCLUDE_DIR=/home/siti/Gate6/<a href="http://2.1.0.1/include">2.1.0.1/include</a><br>On this machine the CLHEP_LIB_DIR=/home/siti/Gate6/<a href="http://2.1.0.1/lib">2.1.0.1/lib</a><br>On this machine the CLHEP_LIB=CLHEP<br>
On this machine the G4UI_USE_TCSH=1<br>On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1<br>On this machine the G4VIS_USE_OPENGLX=1<br>On this machine the XMFLAGS=<br>On this machine the XMLIBS=<br>On this machine the XMFLAGS=<br>
On this machine the XAWFLAGS=<br>On this machine the XAWLIBS=<br>On this machine the G4LIB_BUILD_SHARED=1<br>On this machine the G4LIB_USE_GRANULAR=1<br><br>Configuring GATE options<br><br>G4WORKDIR set to .<br>G4TMP set to ./tmp<br>
G4BIN set to ./bin<br>Data analysis and output features enabled<br>Ascii data output enabled<br>Transport and generation of optical photons is disabled<br>Checking your LD_LIBRARY_PATH variable...<br> ==> OK: /home/siti/Gate6/root/lib added to your LD_LIBRARY_PATH<br>
Use of ROOT enabled<br>ROOT real-time plotter disabled<br>Checking your LD_LIBRARY_PATH variable...<br> ==> OK: /home/siti/Gate6/lmf_3.0/lib added to your LD_LIBRARY_PATH<br>LMF data output enabled<br>ECAT7 data output enabled<br>
GATEHOME is set to /home/siti/Gate6/gate_v6.1<br>Checking your path variable...<br> ==> OK: /home/siti/Gate6/gate_v6.1/bin/Linux-g++ is already in your path variable<br>Checking your LD_LIBRARY_PATH variable...<br> ==> OK: /home/siti/Gate6/gate_v6.1/tmp/Linux-g++/Gate is already in your path variable<br>
G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and 9.4<br><br>Done<br><br><br><br>%%%%%%%%%%% Make<br><br>Making dependency for file Gate.cc ...<br>In file included from ./source/physics/include/GateSourceMgr.hh:20:0,<br>
from Gate.cc:21:<br>./source/physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Entering source/arf ...<br>Making dependency for file src/GateARFTableMgr.cc ...<br>
In file included from src/GateARFTableMgr.cc:12:0:<br>../arf/include/GateARFTable.hh:18:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateARFTable.cc ...<br>
In file included from src/GateARFTable.cc:11:0:<br>../arf/include/GateARFTable.hh:18:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateARFSDMessenger.cc ...<br>
In file included from src/GateARFSDMessenger.cc:13:0:<br>../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateARFSD.cc ...<br>
In file included from src/GateARFSD.cc:12:0:<br>../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateARFDataToRootMessenger.cc ...<br>
In file included from ../arf/include/GateARFDataToRootMessenger.hh:17:0,<br> from src/GateARFDataToRootMessenger.cc:13:<br>../arf/include/GateARFDataToRoot.hh:18:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateARFDataToRoot.cc ...<br>In file included from src/GateARFDataToRoot.cc:14:0:<br>../arf/include/GateARFDataToRoot.hh:18:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Compiling GateARFDataToRoot.cc ...<br>In file included from src/GateARFDataToRoot.cc:14:0:<br>../arf/include/GateARFDataToRoot.hh:18:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>
make[1]: *** [../../tmp/Linux-g++/Gate/GateARFDataToRoot.o] Error 1<br>source/arf finished<br>Entering source/geometry ...<br>Making dependency for file src/GateVVolume.cc ...<br>In file included from src/GateVVolume.cc:46:0:<br>
../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateVSystem.cc ...<br>In file included from src/GateVSystem.cc:27:0:<br>../general/include/GateRootDefs.hh:20:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateSPECTHeadSystem.cc ...<br>In file included from src/GateSPECTHeadSystem.cc:19:0:<br>../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateDetectorConstruction.cc ...<br>In file included from src/GateDetectorConstruction.cc:43:0:<br>../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Compiling GateDetectorConstruction.cc ...<br>In file included from src/GateDetectorConstruction.cc:43:0:<br>../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>make[1]: *** [../../tmp/Linux-g++/Gate/GateDetectorConstruction.o] Error 1<br>source/geometry finished<br>Entering source/general ...<br>Making dependency for file src/GateRootDefs.cc ...<br>In file included from src/GateRootDefs.cc:13:0:<br>
../general/include/GateRootDefs.hh:20:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GatePrimaryGeneratorAction.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br>
from src/GatePrimaryGeneratorAction.cc:28:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateIntImage.cc ...<br>
src/GateIntImage.cc:26:19: fatal error: TFile.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateImage.cc ...<br>src/GateImage.cc:26:19: fatal error: TFile.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateApplicationMgr.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateApplicationMgr.cc:24:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Compiling GateApplicationMgr.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateApplicationMgr.cc:24:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>make[1]: *** [../../tmp/Linux-g++/Gate/GateApplicationMgr.o] Error 1<br>source/general finished<br>Entering source/digits_hits ...<br>Making dependency for file src/GateUserActions.cc ...<br>In file included from ../digits_hits/include/GateActions.hh:30:0,<br>
from src/GateUserActions.cc:16:<br>../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateTrajectoryNavigator.cc ...<br>
In file included from ../digits_hits/include/GateActions.hh:30:0,<br> from src/GateTrajectoryNavigator.cc:19:<br>../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateTrackLengthActorMessenger.cc ...<br>In file included from src/GateTrackLengthActorMessenger.cc:17:0:<br>../digits_hits/include/GateTrackLengthActor.hh:29:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateTrackLengthActor.cc ...<br>In file included from src/GateTrackLengthActor.cc:20:0:<br>../digits_hits/include/GateTrackLengthActor.hh:29:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateTrack.cc ...<br>In file included from src/GateTrack.cc:4:0:<br>../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>
Making dependency for file src/GateToRootMessenger.cc ...<br>In file included from ../digits_hits/include/GateToRootMessenger.hh:18:0,<br> from src/GateToRootMessenger.cc:13:<br>../digits_hits/include/GateToRoot.hh:17:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateToRoot.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateToRoot.cc:38:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateToASCII.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateToASCII.cc:44:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateSteppingActionMessenger.cc ...<br>In file included from ../digits_hits/include/GateActions.hh:30:0,<br> from src/GateSteppingActionMessenger.cc:13:<br>
../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSecondaryProductionActor.cc ...<br>In file included from src/GateSecondaryProductionActor.cc:19:0:<br>
../digits_hits/include/GateSecondaryProductionActor.hh:30:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateROOTBasicOutputMessenger.cc ...<br>In file included from ../digits_hits/include/GateActions.hh:30:0,<br>
from ../digits_hits/include/GateROOTBasicOutputMessenger.hh:21,<br> from src/GateROOTBasicOutputMessenger.cc:12:<br>../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateROOTBasicOutput.cc ...<br>In file included from src/GateROOTBasicOutput.cc:12:0:<br>../digits_hits/include/GateROOTBasicOutput.hh:21:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateProjectionSet.cc ...<br>In file included from src/GateProjectionSet.cc:15:0:<br>../arf/include/GateARFSD.hh:17:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GatePhaseSpaceActorMessenger.cc ...<br>In file included from src/GatePhaseSpaceActorMessenger.cc:24:0:<br>../digits_hits/include/GatePhaseSpaceActor.hh:21:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GatePhaseSpaceActor.cc ...<br>In file included from src/GatePhaseSpaceActor.cc:23:0:<br>../digits_hits/include/GatePhaseSpaceActor.hh:21:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateOutputMgr.cc ...<br>In file included from src/GateOutputMgr.cc:27:0:<br>../digits_hits/include/GateHitFileReader.hh:26:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateHitFileReaderMessenger.cc ...<br>In file included from src/GateHitFileReaderMessenger.cc:15:0:<br>../digits_hits/include/GateHitFileReader.hh:26:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateHitFileReader.cc ...<br>src/GateHitFileReader.cc:14:21: fatal error: TBranch.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateEnergySpectrumActorMessenger.cc ...<br>
In file included from src/GateEnergySpectrumActorMessenger.cc:16:0:<br>../digits_hits/include/GateEnergySpectrumActor.hh:31:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateEnergySpectrumActor.cc ...<br>
In file included from src/GateEnergySpectrumActor.cc:20:0:<br>../digits_hits/include/GateEnergySpectrumActor.hh:31:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateAnalysis.cc ...<br>
In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateAnalysis.cc:30:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>
Making dependency for file src/GateActions.cc ...<br>In file included from ../digits_hits/include/GateActions.hh:30:0,<br> from src/GateActions.cc:14:<br>../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Compiling GateActions.cc ...<br>In file included from ../digits_hits/include/GateActions.hh:30:0,<br> from src/GateActions.cc:14:<br>../digits_hits/include/GateTrack.hh:10:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>make[1]: *** [../../tmp/Linux-g++/Gate/GateActions.o] Error 1<br>source/digits_hits finished<br>Entering source/physics ...<br>Making dependency for file src/GateVSourceVoxelReader.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br>
from src/GateVSourceVoxelReader.cc:20:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateVSource.cc ...<br>
In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateVSource.cc:24:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>
Making dependency for file src/GateSourceTPSPencilBeamMessenger.cc ...<br>In file included from ../physics/include/GateSourceTPSPencilBeam.hh:27:0,<br> from src/GateSourceTPSPencilBeamMessenger.cc:15:<br>../physics/include/GateSourcePencilBeam.hh:35:19: fatal error: TMath.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateSourceTPSPencilBeam.cc ...<br>In file included from ../physics/include/GateSourceTPSPencilBeam.hh:27:0,<br> from src/GateSourceTPSPencilBeam.cc:17:<br>
../physics/include/GateSourcePencilBeam.hh:35:19: fatal error: TMath.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSourcePhaseSpaceMessenger.cc ...<br>In file included from src/GateSourcePhaseSpaceMessenger.cc:15:0:<br>
../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSourcePhaseSpace.cc ...<br>In file included from src/GateSourcePhaseSpace.cc:13:0:<br>
../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSourcePencilBeamMessenger.cc ...<br>In file included from src/GateSourcePencilBeamMessenger.cc:15:0:<br>
../physics/include/GateSourcePencilBeam.hh:35:19: fatal error: TMath.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSourcePencilBeam.cc ...<br>In file included from src/GateSourcePencilBeam.cc:17:0:<br>
../physics/include/GateSourcePencilBeam.hh:35:19: fatal error: TMath.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSourceMgrMessenger.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br>
from ../physics/include/GateSourceMgrMessenger.hh:17,<br> from src/GateSourceMgrMessenger.cc:12:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateSourceMgr.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateSourceMgr.cc:19:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>Making dependency for file src/GateSourceLinacBeamMessenger.cc ...<br>In file included from ../physics/include/GateSourceLinacBeamMessenger.hh:18:0,<br> from src/GateSourceLinacBeamMessenger.cc:12:<br>
../physics/include/GateSourceLinacBeam.hh:21:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateSourceLinacBeam.cc ...<br>In file included from src/GateSourceLinacBeam.cc:11:0:<br>
../physics/include/GateSourceLinacBeam.hh:21:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateRTPhantom.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br>
from src/GateRTPhantom.cc:6:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>Making dependency for file src/GateFastI124.cc ...<br>
In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateFastI124.cc:14:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>
Compiling GateFastI124.cc ...<br>In file included from ../physics/include/GateSourceMgr.hh:20:0,<br> from src/GateFastI124.cc:14:<br>../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>make[1]: *** [../../tmp/Linux-g++/Gate/GateFastI124.o] Error 1<br>source/physics finished<br>Compiling Gate.cc ...<br>In file included from ./source/physics/include/GateSourceMgr.hh:20:0,<br> from Gate.cc:21:<br>
./source/physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: No such file or directory<br>compilation terminated.<br>make: *** [tmp/Linux-g++/Gate/exe/Gate.o] Error 1<br><br><br><br><br>