|Message: Installation of Geant4.10.p02 on OS X 10.9.3||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I am having problems installing Geant4.10.p02 on OS X Mavericks (10.9.3).
After having solved the problem with an inappropriate math.h-file (by giving the flag -DCMAKE_CXX_FLAGS="-U__STRICT_ANSI__" to the cmake-command), I am stuck at [ 97%] with the following messages:
In file included from /Applications/geant4.10.00.p02/source/visualization/RayTracer/src/G4RTJpegMaker.cc:33: In file included from /Applications/geant4.10.00.p02/source/visualization/RayTracer/include/G4RTJpegMaker.hh:42: In file included from /Applications/geant4.10.00.p02/source/visualization/RayTracer/include/G4VFigureFileMaker.hh:40: In file included from /Applications/geant4.10.00.p02/source/global/management/include/globals.hh:49: In file included from /Applications/geant4.10.00.p02/source/global/management/include/G4ios.hh:39: In file included from /Applications/geant4.10.00.p02/source/global/management/include/G4Types.hh:67: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/complex:247: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/sstream:174: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ostream:133: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/locale:192: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cstdlib:86: In file included from /include/stdlib.h:61: /include/available.h:111:6: error: __MAC_OS_X_VERSION_MAX_ALLOWED must be >= __MAC_OS_X_VERSION_MIN_REQUIRED #error __MAC_OS_X_VERSION_MAX_ALLOWED must be >= __MAC_OS_X_VERSION_... ^ 1 error generated.
It seems that the files /include/stdlib.h and /include/available.h are the cause of the problem. It may be that /include/stdlib.h is an old version (kept from previous version of OS X), but simply removing it brought up other problems. In fact, there are several files named stdlib.h on my Mac (and the one in /include/ is not the newest one!). I didn't succeed to make the install procedure of Geant4 use one of the other stdlib.h (and I don't know if this would solve the problem).
The error message given is also a little bit strange. I tried to set
before executing cmake, but also this doesn't help.
Here are my cake options:
cmake -DCMAKE_CXX_FLAGS="-U__STRICT_ANSI__" -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DGEANT4_BUILD_MULTITHREADED=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=ON -DCMAKE_INSTALL_PREFIX=/Applications/geant4.10.00.p02 /Applications/geant4.10.00.p02
Anybody succeeded to install Geant4.10.p02 on OS X 10.9.3? Any ideas?
|Inline Depth:||Outline Depth:||Add message:|