[Gate-users] What's the final solution about Hon Yu's Compilation error problem?
Hon Yu
hjyu at uci.edu
Mon May 24 21:19:58 CEST 2010
Hi,
Following are the installed packages:
CLHEP 2.0.3.2
Geant4.9.1_p03
ROOT_v5.26
Gate6.0_p01
The only exceptions/omissions to the wiki version of 'InstallationGuide'
that I have noted are
(http://wiki.opengatecollaboration.org/index.php/Main_Page):
1. Geant4: You'd need to generate the 'shared' libraries (.so) - default
is [no].
2. ROOT: you'd need to create a /root sub-folder under /lib and /include,
respectively, and copy all 'library' and '*.h' files into it as
compilation of 'Gate' will look for the relevant 'ROOT' files under
/root/lib/root and /root/include/root rather than /root/lib and
/root/include, respectively (I suspect this could be perhaps fixed by
altering "LIBDIR" and "INCDIR" paths in 'Makefile.config' file under
/root/config folder, but have not tried it).
3. "env_gate.sh" file for Gate:
PATH=$PATH:$ROOTSYS/bin:$GATEHOME/bin$G4SYSTEM (the document has as
$ROOTSYS/lib instead).
Hope this helps.
Hon
>
>
>
>
>
> å¨2010-05-11 07:34:45ï¼"Hon Yu" <hjyu at uci.edu> åéï¼
>>Hi,
>>
>>I am having the same problem as what Sebnem described during the
>>compilation of GATE in a Linux machine (Red Hat/gcc 4.1.2). I gather
>> that
>>it's likely to do w/ ROOT as all missing "T***.h" files are located under
>>~/GATE_ROOT/root/include; however, I'm not sure what environmental
>> setting
>>is the cause as I have followed the steps described in the latest
>>'InstallationGuide - GATE collaborative documentation wiki' to the
>>letters.
>>
>>My "env_gate.sh" contains following environment variables:
>>
>>export GATEHOME=~/GATE_ROOT/gate_v5.0.0_p01
>>export G4INSTALL=~/GATE_ROOT/geant4.9.1.p03
>>export G4VERSION=9.1
>>export ROOTSYS=~/GATE_ROOT/root
>>
>>export
>> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:~/GATE_ROOT/2.0.3.2/lib
>>
>>export PATH=$PATH:$ROOTSYS/bin:$GATEHOME/bin/$G4SYSTEM
>>
>>Also, the installation of CLHEP (v2.0.3.2), Geant4 (v9.1.p03) , and ROOT
>>(v5.26) was successfull by all indications prior to GATE installation.
>>
>>I'd greatly appreciate any suggestions any of you might have.
>>
>>Cordially,
>>
>>Hon
>>
>>
--
**********************************
Hon Yu, Ph.D.
Research Imaging Center /
Center for Functional Onco Imaging
132 Irvine Hall
Irvine, CA 92697-5020
phone:(949)824-6001/5479
fax:(949)824-3481
email:hjyu at uci.edu
**********************************
More information about the Gate-users
mailing list