[gate-users] Successful compile for Knoppix
Giovanni Santin
giovanni.santin at cern.ch
Thu Feb 10 14:50:34 CET 2005
Dear Robbie
What you did sounds very interesting for GATE, in my opinion.
If you have an iso image of the CD, and with the approval of the
OpenGATE collaboration, it could be put on some server for user download,
if you agree.
Otherwise, if you could provide the recipe for the addition of
GATE to Knoppix for the creation of the CD, this doc could be added
to the GATE documentation.
+--
For the CLHEP problem you mention, for GATE it was usually fixed by
creating additional symbolic links such as
libCLHEP.a -> libCLHEP-g++.1.8.0.0.a
in the CLHEP lib directory. But what you did seems better compatible with
the latest release of CLHEP, where more than one library file is created.
+--
Cheers,
--
Giovanni
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Giovanni Santin
Space Environments and Effects Analysis
ESA - ESTEC - TEC-EES
Keplerlaan 1, 2200 AG Noordwijk, Netherlands
e-mail: giovanni.santin at esa.int
Tel: +31 71 565 6267
Fax: +31 71 565 4999
On Thu, 23 Dec 2004, Robert Barnett wrote:
>
> 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.
>
>
More information about the Gate-users
mailing list