[Gate-users] Error In Installing Gate

Michael zb890707 at 126.com
Wed Nov 16 06:47:16 CET 2011


Dear Gaters:
 
I try to install Gate again.
But when I 'make', the problems still remain.
I have installed clhep, geant4 and root just following the guide.
When installing the gate, before 'source env_gate.sh',
I added commands to the top of the file "env_gate.sh" as follows:
 
export GATEHOME=/GATE_ROOT/gate_v6.1
export G4INSTALL=/GATE_ROOT/geant4.9.4
export G4VERSION=9.4
export ROOTSYS=/GATE_ROOT/root
export CPATH=$CPATH:$ROOTSYS/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${ROOTSYS}/lib
export PATH=$PATH:$ROOTSYS/lib:$GATEHOME/bin/$G4SYSTEM
export PATH=${ROOTSYS}/bin:${GATEHOME}/bin/Linux-g++:${GATEHOME}/tmp/Linux-g++/Gate:${PATH}

Then. When 'source env_gate.sh', everything seems to be ok.

The current value of G4INSTALL is: /GATE_ROOT/geant4.9.4
The current value of G4VERSION is: 9.4
Launching Geant4 configuration script /GATE_ROOT/geant4.9.4/env.sh

On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/GATE_ROOT/geant4.9.4
On this machine the G4INCLUDE=/GATE_ROOT/geant4.9.4/include/
On this machine the G4LIB=/GATE_ROOT/geant4.9.4/lib
On this machine the G4LEVELGAMMADATA=/GATE_ROOT/geant4.9.4/data/PhotonEvaporation2.1
On this machine the G4RADIOACTIVEDATA=/GATE_ROOT/geant4.9.4/data/RadioactiveDecay3.3
On this machine the G4LEDATA=/GATE_ROOT/geant4.9.4/data/G4EMLOW6.19
On this machine the G4NEUTRONHPDATA=/GATE_ROOT/geant4.9.4/data/G4NDL3.14
On this machine the G4ABLADATA=/GATE_ROOT/geant4.9.4/data/G4ABLA3.0
On this machine the G4REALSURFACEDATA=/GATE_ROOT/geant4.9.4/data/RealSurface1.0
On this machine the G4NEUTRONXSDATA=/GATE_ROOT/geant4.9.4/data/G4NEUTRONXS1.0
On this machine the G4PIIDATA=/GATE_ROOT/geant4.9.4/data/G4PII1.2
On this machine the CLHEP_BASE_DIR=/GATE_ROOT/clhep
On this machine the CLHEP_INCLUDE_DIR=/GATE_ROOT/clhep/include
On this machine the CLHEP_LIB_DIR=/GATE_ROOT/clhep/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_USE_TCSH=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_SHARED=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: /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 /GATE_ROOT/gate_v6.1
Checking your path variable...
 ==> OK: /GATE_ROOT/gate_v6.1/bin/Linux-g++ is already in your path variable
Checking your LD_LIBRARY_PATH variable...
 ==> OK: /GATE_ROOT/gate_v6.1/tmp/Linux-g++/Gate added to your path variable
G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and 9.4

Done

But. When 'make', problem arises:

Compiling GateVSourceVoxelTranslator.cc ...
source/physics finished
Creating shared library tmp/Linux-g++/Gate/libGate.so ...
Compiling Gate.cc ...
In file included from ./source/digits_hits/include/GateUserActions.hh:40:0,
                 from Gate.cc:17:
/GATE_ROOT/geant4.9.4/include/G4VTrajectory.hh:86:17: warning: ‘virtual void G4VTrajectory::ShowTrajectory(std::ostream&) const’ was hidden
./source/digits_hits/include/GateTrajectory.hh:75:17: warning:   by ‘virtual void GateTrajectory::ShowTrajectory() const’
Using global libraries ...
Linking Gate
/usr/bin/ld: cannot find -lXt
/usr/bin/ld: cannot find -lGpad
/usr/bin/ld: cannot find -lHist
/usr/bin/ld: cannot find -lGraf
/usr/bin/ld: cannot find -lGraf3d
/usr/bin/ld: cannot find -lTree
/usr/bin/ld: cannot find -lRint
/usr/bin/ld: cannot find -lPostscript
/usr/bin/ld: cannot find -lMatrix
/usr/bin/ld: cannot find -lPhysics
/usr/bin/ld: cannot find -lMathCore
/usr/bin/ld: cannot find -lRIO
/usr/bin/ld: cannot find -lNet
/usr/bin/ld: cannot find -lThread
/usr/bin/ld: cannot find -lCore
/usr/bin/ld: cannot find -lCint
collect2: ld returned 1 exit status
make: *** [bin/Linux-g++/Gate] 错误 1

I am a beginner and I really have no idea.
Please help me. Thank you indeed.
 


More information about the Gate-users mailing list