|Message: CMAKE errors during GEANT4 configuration||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 trying to install GEANT4 on my Mac running El Capitan 10.11.2. I downloaded cmake-3.5.0-Darwin-x86_64.tar.Z from https://cmake.org/download. This package is installed in /Applications but links are created to /usr/local/bin. For instance, if I type in a terminal 'which cmake' the system responds '/usr/local/bin/cmake'. Nevertheless, when I launched GEANT4 confiduration procedure I got errors related to cmake, which I am copying in the following. Please, reply to firstname.lastname@example.org. Many thanks.
mauraedillesMBP:geant4.10.02.p01-build mauede$ cmake -DCMAKE_INSTALL_PREFIX=/Users/mauede/geant4.10.02.p01-install /Users/mauede/geant4.10.02.p01 -- The C compiler identification is AppleClang 18.104.22.16800054 CMake Error: Could not find cmake module file: CMakeDetermineCXXCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: /Users/mauede/geant4.10.02.p01-build/CMakeFiles/3.5.0/CMakeCXXCompiler.cmake -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works CMake Error at /Applications/CMake.app/Contents/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:74 (include): include could not find load file:
/Applications/CMake.app/Contents/share/cmake-3.5/Modules/CMakeDetermineCompilerABI.cmake Call Stack (most recent call first): CMakeLists.txt:35 (project)
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:75 (CMAKE_DETERMINE_COMPILER_ABI): Unknown CMake command "CMAKE_DETERMINE_COMPILER_ABI". Call Stack (most recent call first): CMakeLists.txt:35 (project)
CMake Error at CMakeLists.txt:35 (project): No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/Users/mauede/geant4.10.02.p01-build/CMakeFiles/CMakeOutput.log".
|Inline Depth:||Outline Depth:||Add message:|