[Gate-users] Problem on GATE installment
mb05467 at umac.mo
mb05467 at umac.mo
Wed Nov 23 12:51:35 CET 2011
Hello,
I'm a rookie in GATE and I can't find any help arround me to solve
this problem which I have solved more than one week. I can't install
gate_v6.1 completed!
Our server's version is "Linux BIG0 2.6.18-238.9.1.el5xen #1 SMP Tue
Apr 12 18:53:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux"
I use SSH putty to install the GATE remotely, and I'm just a user, not
the administrator.
I download the Gate from http://www.opengatecollaboration.org/releasedownload
I followed the introduction from webaddress
http://wiki.opengatecollaboration.org/index.php/InstallationGuide,
The other software needed was installed successfully, their version as
follows,
geant4 9.4.p02 (this part I haven't install X11 and something about
that. But I think it shouldn't effect the result.)
root 5.32
clhep 2.1.0.1
gcc 3.2
And when I install the GATE_v6.1 at last ,
also I have added the pathway in env_gate.sh like this,
"export GATEHOME=/home/walter/GATE_ROOT/gate_v6.1
export G4INSTALL=/home/walter/GATE_ROOT/geant4.9.4.p02
export G4VERSION=9.4
export ROOTSYS=/home/walter/GATE_ROOT/root"
and run "source env_gate.sh" successfully, which shows as follows,
____________________________________________
The current value of G4INSTALL is: /home/walter/GATE_ROOT/geant4.9.4.p02
The current value of G4VERSION is: 9.4
Launching Geant4 configuration script
/home/walter/GATE_ROOT/geant4.9.4.p02/env.sh
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/walter/GATE_ROOT/geant4.9.4.p02
On this machine the G4INCLUDE=/home/walter/GATE_ROOT/geant4.9.4.p02/include/
On this machine the G4LIB=/home/walter/GATE_ROOT/geant4.9.4.p02/lib
On this machine the
G4LEVELGAMMADATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/PhotonEvaporation2.1
On this machine the
G4RADIOACTIVEDATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/RadioactiveDecay3.3
On this machine the
G4LEDATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/G4EMLOW6.19
On this machine the
G4NEUTRONHPDATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/G4NDL3.14
On this machine the
G4ABLADATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/G4ABLA3.0
On this machine the
G4REALSURFACEDATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/RealSurface1.0
On this machine the
G4NEUTRONXSDATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/G4NEUTRONXS1.0
On this machine the
G4PIIDATA=/home/walter/GATE_ROOT/geant4.9.4.p02/data/G4PII1.2
On this machine the CLHEP_BASE_DIR=/home/walter/GATE_ROOT/2.1.0.1
On this machine the CLHEP_INCLUDE_DIR=/home/walter/GATE_ROOT/2.1.0.1/include
On this machine the CLHEP_LIB_DIR=/home/walter/GATE_ROOT/2.1.0.1/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4DEBUG=1
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_SHARED=1
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/walter/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/walter/GATE_ROOT/gate_v6.1
Checking your path variable...
==> OK: /home/walter/GATE_ROOT/gate_v6.1/bin/Linux-g++ is already in
your path variable
Checking your LD_LIBRARY_PATH variable...
==> OK: /home/walter/GATE_ROOT/gate_v6.1/tmp/Linux-g++/Gate is
already in your path variable
G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and 9.4
Done
____________________________________________
But when I run "make", it gives me a lot of errors.
The final warning lines list as below
____________________________________________
./source/general/include/GateRootDefs.hh:93: error: ‘posY’ was not
declared in this scope
./source/general/include/GateRootDefs.hh:93: error: ‘posZ’ was not
declared in this scope
./source/general/include/GateRootDefs.hh: In member function ‘void
GateRootHitBuffer::SetPos(const G4ThreeVector&)’:
./source/general/include/GateRootDefs.hh:97: error: ‘posX’ was not
declared in this scope
./source/general/include/GateRootDefs.hh:98: error: ‘posY’ was not
declared in this scope
./source/general/include/GateRootDefs.hh:99: error: ‘posZ’ was not
declared in this scope
./source/general/include/GateRootDefs.hh: In member function
‘G4ThreeVector GateRootHitBuffer::GetLocalPos() const’:
./source/general/include/GateRootDefs.hh:104: error: ‘localPosX’
was not declared in this scope
./source/general/include/GateRootDefs.hh:104: error: ‘localPosY’
was not declared in this scope
./source/general/include/GateRootDefs.hh:104: error: ‘localPosZ’
was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function ‘void
GateRootHitBuffer::SetLocalPos(const G4ThreeVector&)’:
./source/general/include/GateRootDefs.hh:108: error: ‘localPosX’
was not declared in this scope
./source/general/include/GateRootDefs.hh:109: error: ‘localPosY’
was not declared in this scope
./source/general/include/GateRootDefs.hh:110: error: ‘localPosZ’
was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function
‘G4ThreeVector GateRootHitBuffer::GetSourcePos() const’:
./source/general/include/GateRootDefs.hh:115: error: ‘sourcePosX’
was not declared in this scope
./source/general/include/GateRootDefs.hh:115: error: ‘sourcePosY’
was not declared in this scope
./source/general/include/GateRootDefs.hh:115: error: ‘sourcePosZ’
was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function ‘void
GateRootHitBuffer::SetSourcePos(const G4ThreeVector&)’:
./source/general/include/GateRootDefs.hh:119: error: ‘sourcePosX’
was not declared in this scope
./source/general/include/GateRootDefs.hh:120: error: ‘sourcePosY’
was not declared in this scope
./source/general/include/GateRootDefs.hh:121: error: ‘sourcePosZ’
was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function
‘G4double GateRootHitBuffer::GetAxialPos() const’:
./source/general/include/GateRootDefs.hh:126: error: ‘axialPos’
was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function ‘void
GateRootHitBuffer::SetAxialPos(G4double)’:
./source/general/include/GateRootDefs.hh:129: error: ‘axialPos’
was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function
‘G4double GateRootHitBuffer::GetRotationAngle() const’:
./source/general/include/GateRootDefs.hh:133: error:
‘rotationAngle’ was not declared in this scope
./source/general/include/GateRootDefs.hh: In member function ‘void
GateRootHitBuffer::SetRotationAngle(G4double)’:
./source/general/include/GateRootDefs.hh:136: error:
‘rotationAngle’ was not declared in this scope
./source/general/include/GateRootDefs.hh: At global scope:
./source/general/include/GateRootDefs.hh:182: error: expected
class-name before ‘{’ token
./source/general/include/GateRootDefs.hh:191: error: ‘TTree’ has
not been declared
./source/general/include/GateRootDefs.hh: In constructor
‘GateHitTree::GateHitTree(const G4String&, const G4String&)’:
./source/general/include/GateRootDefs.hh:186: error: class
‘GateHitTree’ does not have any field named ‘TTree’
./source/general/include/GateRootDefs.hh: At global scope:
./source/general/include/GateRootDefs.hh:217: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:218: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:219: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:220: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:221: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:222: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:223: error: ‘Double_t’
does not name a type
./source/general/include/GateRootDefs.hh:224: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:225: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:226: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:227: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:228: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:229: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:230: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:231: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:232: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:233: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:234: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:235: error: ‘Char_t’ does
not name a type
./source/general/include/GateRootDefs.hh:236: error: ‘Char_t’ does
not name a type
./source/general/include/GateRootDefs.hh:251: error: expected
class-name before ‘{’ token
./source/general/include/GateRootDefs.hh: In constructor
‘GateSingleTree::GateSingleTree(const G4String&, const G4String&)’:
./source/general/include/GateRootDefs.hh:255: error: class
‘GateSingleTree’ does not have any field named ‘TTree’
./source/general/include/GateRootDefs.hh: At global scope:
./source/general/include/GateRootDefs.hh:288: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:289: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:290: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:292: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:293: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:294: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:295: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:296: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:297: error: ‘Double_t’
does not name a type
./source/general/include/GateRootDefs.hh:298: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:299: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:300: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:301: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:302: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:303: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:304: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:305: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:306: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:307: error: ‘Char_t’ does
not name a type
./source/general/include/GateRootDefs.hh:308: error: ‘Char_t’ does
not name a type
./source/general/include/GateRootDefs.hh:310: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:311: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:312: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:313: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:314: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:315: error: ‘Double_t’
does not name a type
./source/general/include/GateRootDefs.hh:316: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:317: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:318: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:319: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:320: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:321: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:322: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:323: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:324: error: ‘Int_t’ does
not name a type
./source/general/include/GateRootDefs.hh:325: error: ‘Char_t’ does
not name a type
./source/general/include/GateRootDefs.hh:326: error: ‘Char_t’ does
not name a type
./source/general/include/GateRootDefs.hh:328: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:329: error: ‘Float_t’
does not name a type
./source/general/include/GateRootDefs.hh:344: error: expected
class-name before ‘{’ token
./source/general/include/GateRootDefs.hh: In constructor
‘GateCoincTree::GateCoincTree(const G4String&, const G4String&)’:
./source/general/include/GateRootDefs.hh:348: error: class
‘GateCoincTree’ does not have any field named ‘TTree’
./source/digits_hits/include/GateHitFileReader.hh: At global scope:
./source/digits_hits/include/GateHitFileReader.hh:102: error: ISO C++
forbids declaration of ‘TFile’ with no type
./source/digits_hits/include/GateHitFileReader.hh:102: error: expected
‘;’ before ‘*’ token
./source/digits_hits/include/GateHitFileReader.hh:104: error: ISO C++
forbids declaration of ‘TTree’ with no type
./source/digits_hits/include/GateHitFileReader.hh:104: error: expected
‘;’ before ‘*’ token
./source/digits_hits/include/GateHitFileReader.hh:105: error:
‘Stat_t’ does not name a type
Gate.cc: In function ‘void DecodeArguments(int, char**)’:
Gate.cc:127: error: ‘gROOT’ was not declared in this scope
Gate.cc: In function ‘int main(int, char**)’:
Gate.cc:190: error: ‘gROOT’ was not declared in this scope
/home/walter/GATE_ROOT/2.1.0.1/include/CLHEP/Units/PhysicalConstants.h: At
global scope:
/home/walter/GATE_ROOT/2.1.0.1/include/CLHEP/Units/PhysicalConstants.h:80:
warning: ‘CLHEP::electron_charge’ defined but not used
/home/walter/GATE_ROOT/2.1.0.1/include/CLHEP/Random/Randomize.h:67:
warning: ‘CLHEP::HepRandomGenActive’ defined but not used
make: *** [tmp/Linux-g++/Gate/exe/Gate.o] Error 1
____________________________________________
I can't find where I was wrong, and I need your kindly help.
Thank you for your attention.
Best regards,
Walter
More information about the Gate-users
mailing list