[gate-users] Successful compile for Knoppix
Robert Barnett
nrb at imag.wsahs.nsw.gov.au
Thu Dec 23 01:20:13 CET 2004
I managed to sucessfully compile using Knoppix. Knoppix is modification
of Debian such that the entire OS can be launched from a bootable CD.
I've set up a user home directory on a NFS drive and will store most
data there. It will be interesting to see how much overhead I will
experience using Gate over a NFS and launching the OS from CD.
After looking through Anglea's notes on building for Debian, I'm pleased
to say that I was able to compile gate as a user-mode program in Knoppix.
Angela's notes say to use something other than "./Configure -install"
for geant4. But I only managed a successful compile using "./Configure
-install"
The "make clean" routine in gate is a bit nasty. Gate's "make clean"
will attempt to compile everything and then clean it all up. This was a
nussiance, expecially because I was compiling rather slowly over NFS.
I had difficulties with linking CLHEP. I haven't checked how common this
problem is, but it wasn't too hard to fix.
-------------------------------------------------------
GateVObjectCreator::AttachPhantomSD()' used but never defined
Compiling GateVoxelReplicaMatrixInserterMessenger.cc ...
Creating/replacing object files in
/home/knoppix/geant4/tmp/Linux-g++/Gate/libGate.a
ar: creating /home/knoppix/geant4/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: *** [/home/knoppix/geant4/bin/Linux-g++/Gate] Error 1
%
-------------------------------------------------------
I managed to fix this error by altering env.csh in the geant4 directory.
Note that this is after I have already compiled geant4
--------------------------------------------------
Changes to env.csh
# modified by robbie - only for gate
setenv CLHEP_LIB "CLHEP-g++.1.8.0.0"
---------------------------------------------------------
I'm currently running benchmark PET without the GUI. I haven't tested OpenGL yet.
Versions:
G4EMLOW2.3
G4NDL3.7
gate_v1.0.2
geant4.5.2.p02
CLHEP 1.8.0.0
PhotonEvaporation.2.0
RadiativeDecay.3.0
root_v4.00.08f
Merry Christmas to everyone.
P.S. Hopefully Gate will have a present for me. Perhaps it will leave a
lovely ROOT file underneath the christmas tree c/o benchmarkPET.
--
nrb@
Robbie Barnett
imag
Research Assistant
wsahs
Nuclear Medicine & Ultrasound
nsw
Westmead Hospital
gov
Sydney Australia
au
+61 2 9845 7223
More information about the Gate-users
mailing list