<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ange,<br>
<br>
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.<br>
<br>
Corinne<br>
<br>
Angela M K Foudray wrote:
<blockquote cite="mid1096488474.936.11.camel@med84-189" type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">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@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
</pre>
<blockquote type="cite">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:gate-users-bounces@lphe1pet1.epfl.ch">gate-users-bounces@lphe1pet1.epfl.ch</a>
[<a class="moz-txt-link-freetext" href="mailto:gate-users-bounces@lphe1pet1.epfl.ch">mailto:gate-users-bounces@lphe1pet1.epfl.ch</a>] On Behalf Of Mutanga
Theodore
Sent: Saturday, September 18, 2004 9:15 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:corinne.groiselle@umassmed.edu">corinne.groiselle@umassmed.edu</a>; 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@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
<a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
<a class="moz-txt-link-freetext" href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>
_______________________________________________
gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
<a class="moz-txt-link-freetext" href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
<a class="moz-txt-link-freetext" href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gate-users@lphe1pet1.epfl.ch">gate-users@lphe1pet1.epfl.ch</a>
<a class="moz-txt-link-freetext" href="http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users">http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<link rel="important stylesheet"
href="chrome://messenger/skin/messageBody.css">
<title>message</title>
<div class="moz-text-html" lang="x-western">
<div style="text-align: center;">
<div style="text-align: left;"><br>
<hr style="width: 100%; height: 2px;"><font
style="color: rgb(102, 102, 102);" size="-1">Corinne
J. Groiselle, PhD</font><font style="color: rgb(102, 102, 102);"
size="-1"><br style="font-family: times new roman,times,serif;">
</font></div>
<div
style="text-align: left; font-family: times new roman,times,serif; color: rgb(102, 102, 102);"><font
size="-1">Research instructor<br>
<br>
Division
of Nuclear Medicine / Department of Radiology <br>
University
of Massachusetts Medical School <br>
55 Lake
Avenue North<br>
Worcester, MA 01655<br>
USA<br>
<br>
<u>phone</u>:
(508)-856-6123 - <span style="text-decoration: underline;">fax</span>:
(508)-856-4572<br>
<u>e-mail</u>:
<a class="moz-txt-link-abbreviated" href="mailto:Corinne.Groiselle@umassmed.edu">Corinne.Groiselle@umassmed.edu</a> <br>
<u>professional
homepage</u>: <a class="moz-txt-link-freetext" href="http://users.umassmed.edu/corinne.groiselle">http://users.umassmed.edu/corinne.groiselle</a><br>
<u>personal
homepage</u>: <a class="moz-txt-link-freetext" href="http://corinne.groiselle.free.fr">http://corinne.groiselle.free.fr</a></font> </div>
</div>
<br>
<br>
</div>
</div>
</body>
</html>