Message: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON 

Forum: Installation and Configuration
Date: 06 Dec, 2011
From: <jcook>

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:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (jcook - 06 Dec, 2011)
2 None: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Ben Morgan - 07 Dec, 2011)
1 Note: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Joseph Comfort - 11 Dec, 2011)
1 Note: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (jcook - 12 Dec, 2011)
... 2 Message(s)
2 None: Re: 4.9.5 cmake error for GEANT4_INSTALL_DATA=ON   (Joseph Comfort - 13 Dec, 2011)
... 2 Message(s)
 Add Message Add Message
to: "4.9.5 cmake error for GEANT4_INSTALL_DATA=ON"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]