|Message: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON||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)|
When installing with gcc version 4.1.2 20080704 (Red Hat 4.1.2-51) and cmake version 2.6-patch 4, I receive the following errors when calling cmake:
<moor:4.9.5-build>cmake -DCMAKE_INSTALL_PREFIX=/u/jcook/opt/geant/4.9.5-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=OFF -DGEANT4_USE_RAYTRACER_X11=OFF /u/jcook/opt/geant/4.9.5 -- setting default compiler flags for CXX CMake Error at cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake:246 (_g4tc_setenv_command): _g4tc_setenv_command Function invoked with incorrect arguments for function named: _g4tc_setenv_command Call Stack (most recent call first): cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake:404 (_g4tc_configure_tc_variables) cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake:484 (_g4tc_configure_build_tree_scripts) CMakeLists.txt:116 (include)
CMake Error at cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake:247 (_g4tc_setenv_command): _g4tc_setenv_command Function invoked with incorrect arguments for function named: _g4tc_setenv_command Call Stack (most recent call first): cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake:404 (_g4tc_configure_tc_variables) cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake:484 (_g4tc_configure_build_tree_scripts) CMakeLists.txt:116 (include)
And many, many more similar errors related to the data files before finally coming to this:
-- The following Geant4 features are enabled: GEANT4_USE_SYSTEM_EXPAT: Using system install of EXPAT
-- Configuring incomplete, errors occurred!
I see in the Installation Guide Section 2.3 that the GEANT4_INSTALL_DATA=ON flag will cause cmake (of the correct version) to download the data files. (Side note: It would be wonderful to have the correct cmake version indicated in Section 1.1.). The problem is that I have a limited amount of space (a quota) and a large number of Geant installs (e.g. 4.9.3 exists in x86, x64, and x64 debug, multiply that by a number of different Geant version). To get around the fact that the data adds up to a substantial amount of disk space, I use a common data directory that is pointed to by a symbolic link in each install directory. I would like to keep this configuration, and I'm not sure that I have a choice about the matter.
The question falls into two pieces: Is cmake 2.6 ok? How can I avoid redownloading the data files and instead have the 4.9.5 installation point to the common data directory?
All help will be much appreciated!
|Inline Depth:||Outline Depth:||Add message:|