<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">FYI<br>
<br>
Having thought about it walking home, I arrived at a solution for
'jobsplitter'; similar to 'filemerger'; I am not too sure why it
needed any thought, but ho-hum.<br>
<br>
Make the following changes to the Makefile in the jobsplitter
directory<br>
1. Add the path to the CLHEP include files to the argument
'INCLUDE'<br>
2. Add the path to the CLHEP libraries to the argument
'LDFLAGS'<br>
so for me it looked like this<br>
INCLUDE := -I./include
-I"/quarantine/GATE/CLHEP/Install/include" `geant4-config
--cflags`<br>
LDFLAGS := -L"/quarantine/GATE/CLHEP/Install/lib"
`geant4-config --libs`<br>
then 'make' executes without error.<br>
<br>
Peter</font>
<div class="moz-cite-prefix">On 10/03/2014 01:52 PM, PmB wrote:<br>
</div>
<blockquote cite="mid:542EE247.80305@camhpet.ca" type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font size="-1">Dear All,<br>
<br>
I have Gate V7.0 compiled, and it executes the PET benchmark
successfully and the root analysis produced similar to as I have
seen before.<br>
<br>
I am trying to compile 'filemerger' and 'jobsplitter'<br>
<br>
'filemerger'<br>
Typing 'make' resulted in the following error<br>
/usr/bin/ld: cannot find -lCLHEP-2.1.3.1<br>
so I modified Makefile; adding
-L"/quarantine/GATE/CLHEP/Install/lib" as the first option for
LDFLAGS and it compiles, and the executable 'gjm' seems to
execute.<br>
<br>
'jobsplitter'<br>
Typing 'make'</font><font size="-1"><font size="-1"> resulted in
the following errors<br>
/quarantine/GATE/Geant4/Install/bin/../include/Geant4/G4SystemOfUnits.hh:27:39:
error: CLHEP/Units/SystemOfUnits.h: No such file or
directory<br>
In file included from
/quarantine/GATE/Geant4/Install/bin/../include/Geant4/globals.hh:70,<br>
from ./include/GateSplitManager.hh:14,<br>
from gjs.cc:16:<br>
and then lots of<br>
/quarantine/GATE/Geant4/Install/bin/../include/Geant4/G4PhysicalConstants.hh:29:
error: ‘CLHEP’ has not been declared<br>
<br>
which seems to suggest that CLHEP was not defined, but I have
it set to '/quarantine/GATE/CLHEP/Install' under which are the
directories 'bin', 'include' and 'lib'<br>
<br>
I am using 'gcc version 4.4.4 20100726 (Red Hat 4.4.4-13)
(GCC)'.<br>
<br>
If anyone has any thoughts they will be most appreciated<br>
<br>
Peter<br>
<br>
</font> </font> </blockquote>
<br>
<pre class="moz-signature" cols="72">--
Peter M. Bloomfield
Physicist,
PET Centre,
Centre for Addiction and Mental Health,
250 College St.,
Toronto, Ontario,
Canada M5T 1R8
Tel: 416 535 8501 Ext. 34243</pre>
</body>
</html>