[Gate-users] Gate_v5.0.0 installation problem on Scientific linux4.5

Bohnenberger, Hendrik Hendrik.Bohnenberger at uniklinikum-saarland.de
Tue Feb 16 08:39:56 CET 2010


Hello Ramesh

I had a similar problem when I tryied to install Gate on Ubuntu 9.10. I was only able to finish my installation after downgrading my Compiler. My default Comiler was gcc-4.4. But as you can see on the OpenGateCollaboration website the compilation is validated with gcc-4.2, 4.1, 4.0, 3.4, 3.3, 3.2.
Maby this can help you. But remember you also have to install the other software (CHLEP, geant4,...) with this compiler.
If this doesn't help you could have a look on the GATE 5.0.0 Installation Guide for Ubuntu from Bryan McIntosh. Its surly not the same as on Scientific Linux but it can give you some indications.

best regards

Hendrik
________________________________________
Von: gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] im Auftrag von RAMESHwar [rjhaji at gmail.com]
Gesendet: Montag, 15. Februar 2010 12:36
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] Gate_v5.0.0 installation problem on Scientific linux4.5

Hello
I am facing a installation problem of Gate_v5.0.0 installation problem on
Scientific linux4.5.I loaded other compatible softwares
(CLHEP-2.0.3.2, root_v5.14.00h,
lmf_v3.0, ECAT, geant4.9.1.p03) in directory /usr/local/gate/gate_v5.0.0/. I
also put gate_v5.0.0 in same directory.
Till now everything are installed well accept gate.when I run >source
/usr/local/gate/gate_v5.0.0/gate_v5.0.0/env_gate.sh >gmake, its give me
error in linking like :
Creating shared library tmp/Linux-g++/Gate/libGate.so ...
Creating/replacing object files in ./tmp/Linux-g++/Gate/libGate.a ...
ar: creating ./tmp/Linux-g++/Gate/libGate.a
Compiling Gate.cc ...
Using global libraries ...
Linking Gate ...
*./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVObjectRepeater::~GateVObjectRepeater()'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVObjectRepeater::Describe(unsigned int)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateSystemComponent::SetInserter(GateVObjectInserter*)'*
*./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateVolumeSelector::GateVolumeSelector(G4VPhysicalVolume*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateObjectMoveMessenger::GateObjectMoveMessenger(GateVObjectMove*)'
./tmp/Linux-g++/Gate/libGate.so: undefined reference to
`GateObjectRepeaterMessenger::~GateObjectRepeaterMessenger()'
collect2: ld returned 1 exit status
gmake: *** [bin/Linux-g++/Gate] Error 1*

My edited env_gate.sh is as follows:
*export G4VERSION=9.1
export G4INSTALL=/usr/local/gate/gate_v5.0.0/geant4.9.1.p03
export LMF_HOME=/usr/local/gate/gate_v5.0.0/lmf_v3.0
export
LD_LIBRARY_PATH=/usr/local/gate/gate_v5.0.0/root_v5.14.00h/root/lib:/usr/local/gate/gate_v5.0.0/CLHEP-2.0.3.2/lib:/usr/local/gate/gate_v5.0.0/gate_v5.0.0/tmp/Linux-g++/Gate:${LD_LIBRARY_PATH}
export
PATH=/usr/local/gate/gate_v5.0.0/root_v5.14.00h/root/bin:/usr/local/gate/gate_v5.0.0/gate_v5.0.0/bin/Linux-g++:${PATH}
export GATEHOME=/usr/local/gate/gate_v5.0.0/gate_v5.0.0
export ROOTSYS=/usr/local/gate/gate_v5.0.0/root_v5.14.00h/root
export ECAT7_HOME=/usr/local/gate/gate_v5.0.0/ECAT*

I tried to reinstall many times but it is still giving me same error.
Any suggestion, guidance will be highly thanks and appreciated.
Thanks in advance.
Ramesh
_______________________________________________
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