[Gate-users] Error in installing Gatev6.1

Berker, Yannick Yannick.Berker at philips.com
Fri Nov 4 12:35:22 CET 2011


Hi Michael,
try adding this to your env_gate.sh:
export CPATH=$CPATH:$ROOTSYS/include

Apparently, your C compiler does not find the ROOT include files, and this might fix it. At least it worked for me when I had a very similar issue using the exact same setup yesterday.

Best regards,
Yannick

________________________________________
From: gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] on behalf of Michael [zb890707 at 126.com]
Sent: Friday, November 04, 2011 10:35
To: Gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Error in installing Gatev6.1

Dear Gaters,
I am trying to install the newest version of GATE_v6.1 and I just met a problem.
I have installed the packages mentioned in the installation guide :
clhep 2.1.0.1 , geant4.9.4.p02 and root 5.30 (but I did not install the 'lmf').

Whlie installing the 'Gate', to define the environment variables
I add the command at the top of the file "env_gate.sh"  as follows:

          export GATEHOME=/usr/local/gate/GATE_ROOT/gate_v6.1
          export G4INSTALL=/usr/local/gate/GATE_ROOT/geant4
          export G4VERSION=9.4
          export ROOTSYS=/usr/local/gate/GATE_ROOT/root
          export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/usr/local/gate/GATE_ROOT/clhep/lib
          export PATH=$PATH:$ROOTSYS/lib:$GATEHOME/bin/$G4SYSTEM

I have run the command "source env_gate.sh", and everything is ok as far as i konw,
but when I 'make' ,  there comes to be a fatal error as follows:

Compiling GateEMStandardProcessMessenger.cc ...
Compiling GateeMultipleScatteringPB.cc ...
Compiling GateFakePhysicsList.cc ...
Compiling GateFastI124.cc ...
In file included from ../physics/include/GateSourceMgr.hh:20:0,
                 from src/GateFastI124.cc:14:
../physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: 没有那个文件或目录
compilation terminated.
make[1]: *** [../../tmp/Linux-g++/Gate/GateFastI124.o] 错误 1
source/physics finished
Creating shared library tmp/Linux-g++/Gate/libGate.so ...
Compiling Gate.cc ...
In file included from ./source/physics/include/GateSourceMgr.hh:20:0,
                 from Gate.cc:21:
./source/physics/include/GateSourcePhaseSpace.hh:14:19: fatal error: TROOT.h: 没有那个文件或目录
compilation terminated.
make: *** [tmp/Linux-g++/Gate/exe/Gate.o] 错误 1

Anybody have any idea what is going on ?
What should I do?

Thank you


_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


More information about the Gate-users mailing list