[Gate-users] Problems with Gate7.0 on MacOS

Paola Solevi paola.solevi at gmail.com
Wed Oct 22 14:18:24 CEST 2014


Dear Gate Users,
I have to go back to an issue open in March (Mojca et al) but I can't find
a solution to my problem.

I'm trying to install Gate on my Mac (10.9.3).
I made two different attempts:
1) following the port strategy, everything went smooth but when I type Gate
benchPET.mac (to test the benchmark) I got:
"....
.....
annihil:   for  e+, applyCuts: 1     SubType= 5
      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
            eplus2gg :  Emin=        0 eV    Emax=       10 TeV

*/opt/local/bin/Gate: line 12: 25102 Segmentation fault: 11
 /opt/local/libexec/gate/Gate $@*
"

2) I try to manually install everything from source using cmake (even with
system clhep or g4 internal clhep, to be sure it was not clhep error).
Geant4 installation went fine, then I go to Gate -I guess I correctly
configured by ccmake- but after make command it builds CXX object down to
100% but then I get a long list of printouts and error at the very end:
".......
.........
  "_gROOT", referenced from:
      _main in Gate.cc.o
      GateToRoot::RecordBeginOfAcquisition() in GateToRoot.cc.o
  "_gRandom", referenced from:
      GateRandomEngine::Initialize() in GateRandomEngine.cc.o
*ld: symbol(s) not found for architecture x86_64*
*clang: error: linker command failed with exit code 1 (use -v to see
invocation)*
*make[2]: *** [Gate] Error 1*
*make[1]: *** [CMakeFiles/Gate.dir/all] Error 2*
*make: *** [all] Error 2*
"
ROOT path is correctly set (5.34/14), geant4 path too. Can be a problem
with the compiler?

I have:
*/usr/bin/c++ -v*
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix

* /usr/bin/gcc -v*
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix
Paolas-MacBook-Air-2:geant4.9.6.p03 psolevi$

I attach the configuration shell screenshot of Gate, if it can help.

Any help will be precious!

Thanks a lot,
p.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141022/32e1cad7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-10-22 at 2.05.20 PM.png
Type: image/png
Size: 58127 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141022/32e1cad7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-10-22 at 2.05.10 PM.png
Type: image/png
Size: 70626 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141022/32e1cad7/attachment-0003.png>


More information about the Gate-users mailing list