<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div>Hello,<br><br>first, </gate/output/ascii/setOutFileSinglesFlag 0> cannot work until </gate/digitizer/Singles/insert adder> do.<br><br>second, I use Geant 4.9.p01 (28-08-2007) as recommended, not 4.9.p02.<br>For me it work with 4.9.p01 (if I remember it also work for me with 4.8.p02)<br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;"><br>Best regards,<br><br>Samuel Burg<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">----- Message d'origine ----<br>De : franklin pereira <pnicholasf@gmail.com><br>À : Samuel BURG <samuel_burg@yahoo.fr><br>Envoyé le : Lundi, 28 Juillet 2008, 20h54mn 37s<br>Objet : Re: Re : [Gate-users] Problems with compiling GATE<br><br>Hello,<br><br>I
installed root-5.14, recompiled geant and gate using gcc-4.1.2<br><br>After that I tried the PET benchmark tests but it aborts. I have<br>included the std output here.<br><br>As you will notice, the commands that do not execute are:<br><br>***** COMMAND NOT FOUND </gate/digitizer/Singles/insert adder> *****<br>***** COMMAND NOT FOUND </gate/output/ascii/setOutFileSinglesFlag 0> *****<br><br>Also, I set the flags for graphics output using openGL, but this does<br>not show in the available graphics system list detected by gate.<br><br>I checked for openGL libraries and they are there ( they come with the<br>ubuntu 8.04 distribution).<br>Also the geant configure script is able to detect it under the /usr directory.<br><br>I'd appreciate your feedback in this regard.<br><br>Thank you,<br>Franklin.<br><br><br><br><br>*************************************************************<br> Geant4 version Name: geant4-09-00-patch-02
(25-January-2008)<br> Copyright : Geant4 Collaboration<br> Reference : NIM A 506 (2003), 250-303<br> WWW : <a href="http://cern.ch/geant4" target="_blank">http://cern.ch/geant4</a><br>*************************************************************<br><br>Visualization Manager instantiating...<br>Visualization Manager initialising...<br>Registering graphics systems...<br><br>You have successfully registered the following graphics systems.<br>Current available graphics systems are:<br> ASCIITree (ATree)<br> DAWNFILE (DAWNFILE)<br> G4HepRep (HepRepXML)<br> G4HepRepFile (HepRepFile)<br> RayTracer (RayTracer)<br> VRML1FILE (VRML1FILE)<br> VRML2FILE
(VRML2FILE)<br><br>Registering model factories...<br><br>You have successfully registered the following model factories.<br>Registered model factories:<br> generic<br> drawByCharge<br> drawByParticleID<br> drawByOriginVolume<br> drawByAttribute<br><br>Registered filter factories:<br> chargeFilter<br> particleFilter<br> originVolumeFilter<br> attributeFilter<br><br>Time set to (s) 0<br>[GateSystemListManager::CheckScannerAutoCreation:<br> Creating new system based on volume inserter 'cylindricalPET'<br><br>GATE object: 'systems/cylindricalPET'<br>Components:<br><br>GATE object: 'systems/cylindricalPET/base'<br>Attached to volume: cylindricalPET<br>Nb of children: 1<br><br> GATE object: 'systems/cylindricalPET/rsector'<br> Attached to volume:
head<br> Nb of children: 1<br><br> GATE object: 'systems/cylindricalPET/module'<br> Attached to volume: module<br> Nb of children: 1<br><br> GATE object: 'systems/cylindricalPET/submodule'<br> Attached to volume: block<br> Nb of children: 1<br><br> GATE object: 'systems/cylindricalPET/crystal'<br> Attached to volume: crystal<br>
Nb of children: 4<br><br> GATE object: 'systems/cylindricalPET/layer0'<br> Attached to volume: LSO<br> Nb of children: 0<br><br> GATE object: 'systems/cylindricalPET/layer1'<br> Attached to volume: BGO<br> Nb of children:
0<br><br> GATE object: 'systems/cylindricalPET/layer2'<br> Attached to volume: ---<br> Nb of children: 0<br><br> GATE object: 'systems/cylindricalPET/layer3'<br> Attached to volume: ---<br> Nb of children: 0<br>geometrical design type: 1<br>ring diameter: 86.5 cm<br>rsector axial pitch: 0 fm<br>rsector
azimuthal pitch: 45 degree<br>rsector tangential size: 32 cm<br>rsector axial size: 40.2 cm<br>module axial size: 10 cm<br>module tangential size: 8 cm<br>module axial pitch: 10 cm<br>module tangential pitch: 8 cm<br>submodule axial size: 1.99 cm<br>submodule tangential size: 1.59 cm<br>submodule axial pitch: 2 cm<br>submodule tangential pitch: 1.6 cm<br>crystal radial size: 3 cm<br>crystal axial size: 3.8 mm<br>crystal tangential size: 3 mm<br>crystal axial pitch: 4 mm<br>crystal tangential pitch: 3.2 mm<br>layer0 radial size: 1.5 cm<br>in layer0 interaction length: 7.5 mm<br>layer1 radial size: 1.5 cm<br>in layer1 interaction length: 7.5 mm<br>Axial nb of rsectors: 1<br>Azimuthal nb of rsectors: 8<br>Axial nb of modules: 4<br>Tangential nb of modules: 4<br>Axial nb of submodules: 5<br>Tangential nb of submodules: 5<br>Axial nb of crystals: 5<br>Tangential nb of crystals: 5<br>Radial nb of layers: 2<br>WARNING !<br> SetCutValueForOthers became
obsolete.<br> It is harmless to remove this invokation without any side effects.<br> This dummy method implementation will be removed soon.<br>***** COMMAND NOT FOUND </gate/digitizer/Singles/insert adder> *****<br><br>***** Batch is interupted!! *****<br> Ignoring confine condition<br> Ignoring confine condition<br>GateSourceMgr::ListSources: List of the sources in the source managaer<br>Source --------------> F18LineSource<br> ID : 0<br> type :<br> activity (Bq) : 100000<br> startTime (s) : 0<br> time (s) : 0<br> forcedUnstable : 1<br> forcedHalfLife (s) : 6586.2<br> verboseLevel : 0<br>----------------------<br><br>Source --------------> O15LineSource<br> ID
: 1<br> type :<br> activity (Bq) : 100000<br> startTime (s) : 0<br> time (s) : 0<br> forcedUnstable : 1<br> forcedHalfLife (s) : 122.24<br> verboseLevel : 0<br>----------------------<br><br>***** COMMAND NOT FOUND </gate/output/ascii/setOutFileSinglesFlag 0> *****<br><br>***** Batch is interupted!! *****<br>Graphics systems deleted.<br>Visualization Manager deleting...<br><br><br><br>2008/7/28 Samuel BURG <<a ymailto="mailto:samuel_burg@yahoo.fr" href="mailto:samuel_burg@yahoo.fr">samuel_burg@yahoo.fr</a>>:<br>><br>> The best solution is to downgarde GCC to 4.1.x.<br>> Then you can compil all the stuff for Gate without any error.<br>> It's better to use ROOT 5.14 for Gate
3.1.2<br>><br>> I've allready do that on Ubuntu 8.04 TSL x64, so I know the relevent<br>> packadges are availaible.<br>><br>> Best regards,<br>><br>> Samuel Burg<br>><br>><br>> ----- Message d'origine ----<br>> De : Zhibin Huang <<a ymailto="mailto:zxh6@case.edu" href="mailto:zxh6@case.edu">zxh6@case.edu</a>><br>> À : franklin pereira <<a ymailto="mailto:pnicholasf@gmail.com" href="mailto:pnicholasf@gmail.com">pnicholasf@gmail.com</a>><br>> Cc : <a ymailto="mailto:gate-users@lists.healthgrid.org" href="mailto:gate-users@lists.healthgrid.org">gate-users@lists.healthgrid.org</a><br>> Envoyé le : Vendredi, 25 Juillet 2008, 21h06mn 36s<br>> Objet : Re: [Gate-users] Problems with compiling GATE<br>><br>> Recently I successfully installed Gate under Ubuntu8.04 when I used<br>> ROOT5.19. It seems that in Ubntu8.04, ROOT5.14 can't be compiled<br>> successfully.<br>><br>> Before you
install GATE, you have to modify the GNUmake file. As a<br>> reference, please see the attachment and modify the path properly. My<br>> webpage may also be useful for both Gate installation and Ubuntu8.04<br>> configuration:<br>> please search for GATE under the link:<br>> <a href="https://filer.case.edu/%7Ezxh6/data/daily-log" target="_blank">https://filer.case.edu/~zxh6/data/daily-log</a><br>><br>> Good luck!<br>><br>> On Fri, Jul 25, 2008 at 1:43 PM, franklin pereira <<a ymailto="mailto:pnicholasf@gmail.com" href="mailto:pnicholasf@gmail.com">pnicholasf@gmail.com</a>><br>> wrote:<br>>><br>>> Hi,<br>>><br>>> I have a Dell Vostro ( intel core duo processor) with Ubuntu 8.04<br>>> installed.<br>>> The default version of the gcc compiler is 4.2.3<br>>><br>>> I recently downloaded Gate3.1.2, Geant4 (version 9.0), ROOT (5.14).<br>>><br>>> Geant4 compiled without
any problems.<br>>><br>>> However, I am having problems with compiling ROOT-5.14.<br>>> I get tons of warnings and then the compilation aborts with the<br>>> following error message:<br>>><br>>><br>>> *************************************************************************************************************************<br>>> >> bin/rmkdepend -R -fcint/src/gcc3strm.d -Y -w 1000 -- -pipe -m32 -Wall<br>>> >> -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX<br>>> >> -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION<br>>> >> -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread<br>>> >> -Icint/lib/gcc3strm -D__cplusplus -- cint/src/gcc3strm.cxx<br>>> g++ -O -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude<br>>> -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL
-DG__ROOT<br>>> -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO<br>>> -DG__CINTBODY -Icint/src -pthread -Icint/lib/gcc3strm -o<br>>> cint/src/gcc3strm.o -c cint/src/gcc3strm.cxx<br>>> cint/src/gcc3strm.cxx: In function 'int G__G__stream_7_7_0(G__value*,<br>>> const char*, G__param*, int)':<br>>> cint/src/gcc3strm.cxx:311: error: 'class std::fpos<__mbstate_t>' has<br>>> no member named 'operator=='<br>>> cint/src/gcc3strm.cxx: In function 'int G__G__stream_7_8_0(G__value*,<br>>> const char*, G__param*, int)':<br>>> cint/src/gcc3strm.cxx:317: error: 'class std::fpos<__mbstate_t>' has<br>>> no member named 'operator!='<br>>> make: *** [cint/src/gcc3strm.o] Error 1<br>>><br>>> *************************************************************************************************************************<br>>><br>>><br>>> ROOT 5.20,
however, compiles cleanly, but gate will not compile with<br>>> this version of ROOT as is cannot find the proper function<br>>> declarations for the various ROOT functions ( the header files are in<br>>> /root/include and this is passed on to the g++ compiler correctly<br>>> in the GATE makefile ).<br>>><br>>><br>>> A sample of these error messages are:<br>>><br>>><br>>> **************************************************************************************************************<br>>> >>Using global libraries ...<br>>> Linking Gate ...<br>>><br>>> /opt/Geant4/geant4.9.0.p02/tmp/Linux-g++/Gate/libGate.a(GateHitFileReader.o):<br>>> In function `GateHitFileReader::PrepareAcquisition()':<br>>> GateHitFileReader.cc:(.text+0x102a): undefined reference to<br>>> `TFile::TFile(char const*, char const*, char const*, int)'<br>>>
/opt/Geant4/geant4.9.0.p02/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):<br>>> In function `GateToRoot::RecordVoxels(GateVGeometryVoxelStore*)':<br>>> GateToRoot.cc:(.text+0xe47): undefined reference to `TFile::TFile(char<br>>> const*, char const*, char const*, int)'<br>>> /opt/Geant4/geant4.9.0.p02/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o):<br>>> In function `GateToRoot::RecordBeginOfAcquisition()':<br>>> GateToRoot.cc:(.text+0x3fd3): undefined reference to<br>>> `TFile::TFile(char const*, char const*, char const*, int)'<br>>> GateToRoot.cc:(.text+0x423b): undefined reference to<br>>> `TFile::TFile(char const*, char const*, char const*, int)'<br>>> /opt/root/lib/libTree.so: undefined reference to<br>>> `TFileCacheRead::TFileCacheRead(TFile*, int)'<br>>> /opt/root/lib/libTree.so: undefined reference to `TFile::GetCacheRead()<br>>> const'<br>>> /opt/root/lib/libTree.so:
undefined reference to<br>>> `TBufferFile::WriteClones(TClonesArray*, int)'<br>>> /opt/root/lib/libTree.so: undefined reference to<br>>> `TBufferFile::WriteArray(float const*, int)'<br>>> /opt/root/lib/libTree.so: undefined reference to<br>>> `TSQLRow::Streamer(TBuffer&)'<br>>> /opt/root/lib/libTree.so: undefined reference to<br>>> `TBufferFile::WriteVersion(TClass const*, bool)'<br>>> /opt/root/lib/libHist.so: undefined reference to<br>>> `ROOT::Fit::BinData::Initialize(unsigned int, unsigned int,<br>>> ROOT::Fit::BinData::ErrorType)'<br>>> /opt/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'<br>>> /opt/root/lib/libTree.so: undefined reference to<br>>> `TBufferFile::ReadObject(TClass const*)'<br>>> /opt/root/lib/libTree.so: undefined reference to `TKey::Create(int,<br>>> TFile*)'<br>>><br>>>
********************************************************************************************************************<br>>><br>>><br>>> My guess is that the function declarations in ROOT5.20 have changed<br>>> from version 5.14, therefore the conflict.<br>>> However, I am clueless regarding the compilation errors generated<br>>> while trying to compile ROOT-5.14.<br>>> Is this due to the newer version of gcc that comes with the Ubuntu OS<br>>> ? I am at a loss and would appreciate help regarding this.<br>>><br>>> Thanks a lot,<br>>> Franklin.<br>>> _______________________________________________<br>>> Gate-users mailing list<br>>> <a ymailto="mailto:Gate-users@lists.healthgrid.org" href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>>> <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users"
target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>><br>><br>> ________________________________<br>> Envoyé avec Yahoo! Mail.<br>> Une boite mail plus intelligente.<br>> _______________________________________________<br>> Gate-users mailing list<br>> <a ymailto="mailto:Gate-users@lists.healthgrid.org" href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>> <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>><br>><br></div></div></div><br>
<hr size="1">
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>