[gate-users] UMASS GATE INSTALL GUIDE

Corinne J Groiselle corinne.groiselle at umassmed.edu
Wed Sep 29 22:14:23 CEST 2004


Hi Ange,

You need to create env files and source them or create all the env 
variables in your .bashrc or .tcshrc file. You have to do it for ROOT as 
well.

Corinne

Angela M K Foudray wrote:

>I have found, when I have gotten this error, it's because I haven't
>setenv the CLHEP variable, and that the CLHEP/lib isn't in my library
>path.  I have CLHEP in /usr/src/, so this is what that section of the
>file that I source to define my environment variables (i.e. the
>following lines are in my /usr/src/gate/env_gate.csh file):
>
>
> 
>setenv CLHEP /usr/src/CLHEP
>
>    if ( ${?LD_LIBRARY_PATH} ) then
>      echo "Checking your LD_LIBRARY_PATH variable..."
>      echo $LD_LIBRARY_PATH | grep ${CLHEP}/lib > /dev/null
>      if ($status) then
>        echo " ==> OK: ${CLHEP}/lib added to your LD_LIBRARY_PATH"
>        setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP}/lib
>      else
>        echo " ==> OK: ${CLHEP}/lib is already in your LD_LIBRARY_PATH"
>      endif
>    else
>      echo " ==> ${CLHEP}/lib added to your LD_LIBRARY_PATH"
>      setenv LD_LIBRARY_PATH ${CLHEP}/lib
>    endif
>
>
>
>
>Which, now that I am looking at the posts, this is what Ross is saying. 
>Let me know if this doesn't do it.  Just make sure you put this in your
>environment variable file and source it before trying to compile GATE
>again.
>
>Ange
>
>
>On Wed, 2004-09-29 at 03:18, Mutanga Theodore wrote:
>  
>
>>Hello there,
>>I have been trying for two weeks now and still can't get GATE running,
>>
>>right now I have installed Geant4 5.2 and ROOT 3. 10 on REDHAT 9.0 g++ gcc
>>3.2.
>>When I try to install GATE I get the following error after compiling
>>
>>...
>>...
>>...
>>Creating/replacing object files in
>>/usr/src/geant4.5.2.p02/tmp/Linux-g++/Gate/libGate.a
>>Compiling Gate.cc ...
>>Using granular libraries ...
>>Linking Gate ...
>>/usr/bin/ld: cannot find -lCLHEP
>>collect2: ld returned 1 exit status
>>make: *** [/usr/src/geant4.5.2.p02/bin/Linux-g++/Gate] Error 1
>>[theodore at c169-69 gate_v1.0.1]# ls
>>
>>
>>
>>Could someone tell me what the erros means ? does it have to do with the
>>CLHEP libraries ?
>>I have then installed in /usr/src/CLHEP/lib
>>
>>Hoping to hear from anyone with suggestions
>>
>>
>>Thanks
>>
>>Theodore
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>    
>>
>>>Hi,
>>>
>>>No worries Gate tends to be quite tricky to install.  Lets do this in
>>>steps and see how it goes.
>>>
>>>Do the install in cshell or tshell (I've been using tshell, type tcsh).
>>>
>>>Goto cd CLHEP and type ./configure
>>>Don't worry about the "** Cannot find include files for C++ run time
>>>library. Please add ** the relevant directory to the TOPINCLUDES"
>>>message it doesn't seem to cause any problems.
>>>Next type pwd
>>>Then use this directory in the "!!!" spot on the following command.
>>>gmake install prefix="!!!"
>>>
>>>When you have installed CLHEP we can then move to ROOT or Geant4 and try
>>>those.
>>>
>>>Good luck (and cross your fingers ;)),
>>>
>>>ross
>>>
>>>-----Original Message-----
>>>From: gate-users-bounces at lphe1pet1.epfl.ch
>>>[mailto:gate-users-bounces at lphe1pet1.epfl.ch] On Behalf Of Mutanga
>>>Theodore
>>>Sent: Saturday, September 18, 2004 9:15 PM
>>>To: corinne.groiselle at umassmed.edu; GATE feedback and helpline for Users
>>>Subject: Re: [gate-users] UMASS GATE INSTALL GUIDE
>>>
>>>
>>>Hello there, thanks for the installation guide.
>>>
>>>I have tried to follow it step by step but I'm afraid I still have some
>>>major (??) problems.
>>>
>>>I get the following errors when I try to install CLHEP:
>>>
>>>
>>>
>>>[root at c169-69 CLHEP]# ./configure
>>>loading cache ./config.cache
>>>checking host system type... i686-pc-linux-gnu
>>>checking target system type... i686-pc-linux-gnu
>>>checking build system type... i686-pc-linux-gnu
>>>checking for cl... no
>>>checking for aCC... no
>>>checking for cxx... no
>>>checking for xlC... no
>>>checking for KCC... no
>>>checking for CC... no
>>>checking for g++... no
>>>checking for c++... no
>>>checking how to run the C++ preprocessor... (cached) /lib/cpp UNEXPECTED
>>>CHOISE OF C++ COMPILER: SELECTED C++ COMPILER: checking for fl32... no
>>>checking for f77... no checking for fort77... no checking for xlf... no
>>>checking for g77... no checking for f2c... no checking for iostream.h...
>>>(cached) no
>>>** Cannot find include files for C++ run time library. Please add
>>>** the relevant directory to the TOPINCLUDES macro in the Makefile(s)
>>>FORTRAN needs UNEXPECTED CHOISE OF FORTRAN COMPILER: SELECTED FORTRAN
>>>COMPILER: -g -c checking for sin in -lm... (cached) no checking for
>>>xdrmem_create in -lrpclib... (cached) no checking for main in -lsun...
>>>(cached) no checking for main in -lnsl... (cached) no checking for
>>>less... (cached) less checking for mkdirs... (cached) mkdir -p checking
>>>for ranlib... (cached) ranlib checking for gawk... (cached) gawk
>>>checking for std::stl ...      no
>>>checking for std::io...        no
>>>checking for std::ios_base...        no
>>>checking for <iosfwd>...       no
>>>checking for <sstream>...      no
>>>checking for <strstream>...    no
>>>checking for <strstream.h>...  no
>>>checking for <cmath>...        no
>>>checking for problem with const...   yes
>>>creating ./config.status
>>>creating Makefile
>>>creating Evaluator/Makefile
>>>creating GenericFunctions/Makefile
>>>creating Matrix/Makefile
>>>creating HepPDT/Makefile
>>>creating HepMC/Makefile
>>>creating HepMC/include/Makefile
>>>creating StdHep/Makefile
>>>creating StdHep/include/Makefile
>>>creating Vector/Makefile
>>>creating Random/Makefile
>>>creating RandomObjects/Makefile
>>>creating test/Makefile
>>>creating Units/Makefile
>>>creating Utilities/Makefile
>>>creating config/Makefile
>>>creating Geometry/Makefile
>>>creating config/Makefile.common
>>>creating config/CLHEP-i686-pc-linux-gnu-.h
>>>config/CLHEP-i686-pc-linux-gnu-.h is unchanged
>>>
>>>
>>>
>>>AND
>>>
>>>
>>>I can't run the CREATE commnad, don't know if Im on the righe shell.
>>>
>>>Ill appreciate more comments and tips, I really have to get this GATE
>>>working somehow.
>>>
>>>Could anyone who has it installed tell me exactly what steps they took
>>>in installing it, and also what OS they are using.
>>>
>>>
>>>Thanks in advance _______________________________________________
>>>gate-users mailing list
>>>gate-users at lphe1pet1.epfl.ch
>>>http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>>>
>>>
>>>
>>>_______________________________________________
>>>gate-users mailing list
>>>gate-users at lphe1pet1.epfl.ch
>>>http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>>>
>>>      
>>>
>>_______________________________________________
>>gate-users mailing list
>>gate-users at lphe1pet1.epfl.ch
>>http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>>    
>>
>
>_______________________________________________
>gate-users mailing list
>gate-users at lphe1pet1.epfl.ch
>http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>  
>

-- 

------------------------------------------------------------------------
Corinne J. Groiselle, PhD
Research instructor

Division of Nuclear Medicine / Department of Radiology
University of Massachusetts Medical School
55 Lake Avenue North
Worcester, MA 01655
USA

_phone_: (508)-856-6123 - fax: (508)-856-4572
_e-mail_: Corinne.Groiselle at umassmed.edu
_professional homepage_: http://users.umassmed.edu/corinne.groiselle
_personal homepage_: http://corinne.groiselle.free.fr


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20040929/7929f7ec/attachment.htm>


More information about the Gate-users mailing list