[Gate-users] installing Gate 5.0.0 on Mac OS X 10.5.7
Takatoshi HIGASHI
higashi at hp2.phys.saga-u.ac.jp
Tue Jun 23 19:08:18 CEST 2009
Dear Cheick, and all
Thank you very much for your advice!
I could have installed gate_v5.0.0, by trying with root_v5.14 !
However, I have had a new trouble, since I tried to benchmarkPET.
But, I found out that "PATH" is not so good, because of the following error:
dyld: Library not loaded: libCLHEP-2.0.4.2.dylib
Referenced from: /Applications/gate_v5.0.0/bin/Darwin-g++/Gate
Reason: image not found
Trace/BPT trap
So, I wrote at ~/.bashrc:
## ROOT
export ROOTSYS=/usr/local/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH
## CLHEP
export PATH=$CLHEP/bin:$PATH
export LD_LIBRARY_PATH=/Applications/CLHEP/lib
export DYLD_LIBRARY_PATH=/Applications/CLHEP/lib
and after ' source ~/.bashrc '
I ran benchmarkPET.mac then I had errors:
dyld: Library not loaded: /Users/brun/root/lib/libCore.dylib
Referenced from: /Applications/gate_v5.0.0/bin/Darwin-g++/Gate
Reason: image not found
Trace/BPT trap
Who is "brun" ?????
There is no accounts for "brun".
comment out at ~/.bashrc by follows:
export PATH=$CLHEP/bin:$PATH
#export LD_LIBRARY_PATH=/Applications/CLHEP/lib
#export DYLD_LIBRARY_PATH=/Applications/CLHEP/lib
and after ' source ~/.bashrc '
I ran benchmarkPET.mac.
Then I got a visualization like a attachment (pic11)
but, have a error as following:
WARNING: G4VisManager::EndOfEvent: Event keeping suspended.
The number of events exceeds the maximum that may be kept, 100.
Best regards,
Taka.
2009/6/23 THIAM Cheick 219838 <cheick.thiam at cea.fr>
> Oky G4 is done
>
>
>
> I think the problem probably comes from version incompatibility... (gcc,
> root) the recents versions of root are not often stable for Mac-OS can you
> try with a old version of root ? Per example root_v5.14 for Moc-OS. I use
> this version with gate_v5 and geant4.9.2 on my Mac-OS and it's run
> correctly...
>
>
>
> Cheick
>
>
>
>
> ------------------------------
>
> *De :* takatoshi.higashi at gmail.com [mailto:takatoshi.higashi at gmail.com] *De
> la part de* Takatoshi HIGASHI
> *Envoyé :* mardi 23 juin 2009 12:38
> *À :* THIAM Cheick 219838
>
> *Objet :* Re: [Gate-users] installing Gate 5.0.0 on Mac OS X 10.5.7
>
>
>
> Dear Cheick
>
>
>
> I checked them by running example/novice in geant4,
> I attached their make.log and a picture(exampleN07 sample.mac run).
>
> Geant4 runs correctly, I think.
>
>
>
> Taka
>
>
>
>
>
> 2009/6/23 THIAM Cheick 219838 <cheick.thiam at cea.fr>
>
> Hello,
>
>
>
> Are you sure your installations are well done in your env… geant4, CLHEP
> and ROOT…
>
> Are that single geant4 run correctly?
>
>
>
> Cheick
> ------------------------------
>
> *De :* gate-users-bounces at lists.healthgrid.org [mailto:
> gate-users-bounces at lists.healthgrid.org] *De la part de* Takatoshi HIGASHI
> *Envoyé :* lundi 22 juin 2009 19:28
> *À :* gate-users at lists.healthgrid.org
> *Objet :* Re: [Gate-users] installing Gate 5.0.0 on Mac OS X 10.5.7
>
>
>
> Dear all,
>
>
>
> The make.log file is attached.
>
>
>
> Thanks,
>
> Taka
>
> 2009/6/22 Takatoshi HIGASHI <higashi at hp2.phys.saga-u.ac.jp>
>
> Dear all,
>
>
>
> Trying to install Gate 5.0.0 with Geant4.9.2.p01 on Mac OS X 10.5.7, but
> have some trouble while the make process, because of it seems not to
> recognize a c++ library as the following:
>
>
>
> .
>
> .
>
> (Making processes)
>
> .
>
> .
>
> Compiling GateARFDataToRoot.cc ...
>
> /usr/include/c++/4.0.0/cmath:99: error: '::acos' has not been declared
>
> /usr/include/c++/4.0.0/cmath:116: error: '::asin' has not been declared
>
> /usr/include/c++/4.0.0/cmath:131: error: '::atan' has not been declared
>
> .
>
> .
>
> (lots of errors)
>
> .
>
> .
>
> make[1]: *** [../../tmp/Darwin-g++/Gate/GateAnalysis.o] Error 1
>
> source/management finished
>
> Creating/replacing object files in ./tmp/Darwin-g++/Gate/libGate.a ...
>
> ar: creating archive ./tmp/Darwin-g++/Gate/libGate.a
>
> ar: ./tmp/Darwin-g++/Gate/*.o: No such file or directory
>
> make: *** [tmp/Darwin-g++/Gate/libGate.a] Error 1
>
>
>
> (finish)
>
>
>
> I commanded as follows:
>
>
>
> $ source ($geant4.9.2.p1 directory)/env.sh
>
> $ source ($gate5.0.0 directory)/env_gate.sh
>
> $ make
>
>
>
> @ gcc version 4.0.1 (Apple Inc. build 5465)
>
> and X11 was installed with Xcode from ADC.
>
>
>
> geant4.9.2.p01 and ROOT 5.19/02 seem to run fine on their own.
>
> (Of course, installations too.)
>
>
>
> I'd like to have some advice.
>
>
> Best wishes,
> Taka
>
>
>
> --
> Takatoshi HIGASHI
> High Energy Physics Group, Department of Physics,
> Graduate School of Scinence & Engineering, Saga University
> E-mail:higashi at hp2.phys.saga-u.ac.jp<E-mail%3Ahigashi at hp2.phys.saga-u.ac.jp>
> TEL/FAX:0952-28-8545
>
>
>
>
> --
> Takatoshi HIGASHI
> High Energy Physics Group, Department of Physics,
> Graduate School of Scinence & Engineering, Saga University
> E-mail:higashi at hp2.phys.saga-u.ac.jp<E-mail%3Ahigashi at hp2.phys.saga-u.ac.jp>
> TEL/FAX:0952-28-8545
>
>
>
>
> --
> Takatoshi HIGASHI
> High Energy Physics Group, Department of Physics,
> Graduate School of Scinence & Engineering, Saga University
> E-mail:higashi at hp2.phys.saga-u.ac.jp<E-mail%3Ahigashi at hp2.phys.saga-u.ac.jp>
> TEL/FAX:0952-28-8545
>
--
Takatoshi HIGASHI
High Energy Physics Group, Department of Physics,
Graduate School of Scinence & Engineering, Saga University
E-mail:higashi at hp2.phys.saga-u.ac.jp<E-mail%3Ahigashi at hp2.phys.saga-u.ac.jp>
TEL/FAX:0952-28-8545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090624/ccf67fbc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic11.png
Type: image/png
Size: 62238 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090624/ccf67fbc/attachment.png>
More information about the Gate-users
mailing list