[Gate-users] Installing Gate v6.2 and Geant4 on OSX 10.8.3, problems with CLHEP
Jenny Nilsson
jenny.nilsson at radfys.gu.se
Fri May 3 15:31:55 CEST 2013
Hello all.
I’ve been trying to install Geant4.9.5.p02 and using external CLHEP on Mac OS X 10.8.3, Mountain Lion. There seems to be some problems with Cmake finding the CLHEP installation.
I’ve installed CLHEP 2.1.1.0, which seems to have worked fine. CLHEP is in directory /Applications/2.1.1.0 and the variable paths are updated
export PATH=$Applications/2.1.1.0/CLHEP/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/2.1.1.0/CLHEP/lib
When installing Geant4 using ccmake I get the following for CLHEP:
CLHEP_CONFIG_EXECUTABLE /Applications/2.1.1.0/CLHEP
CLHEP_INCLUDE_DIR /Applications/2.1.1.0
CLHEP_LIBRARY /Applications/2.1.1.0/lib
And when configuring I get the following message:
CMake Error at cmake/Modules/FindCLHEP.cmake:179 (file):
file Internal CMake error when trying to open file:
/Applications/2.1.1.0/CLHEP/Units/defs.h for reading.
Call Stack (most recent call first):
cmake/Modules/Geant4OptionalComponents.cmake:41 (find_package)
CMakeLists.txt:79 (include)
CMake Error at /Applications/CMake
2.8-10.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmak
e:97 (message):
Could NOT find CLHEP:
Incompatible versions, (found) < 2.1.0.1(required)
(missing: CLHEP_VERSION_COMPATIBLE) (Required is at least version
"2.1.0.1")
Any suggestion on what has gone wrong?
Does it matter, with respect to Gate 6.2 if I use Geant4.9.5p01 or Geant4.9.5.p02
Also, the manual mention CLHEP_ROOT_DIR, but I can’t seem to find this when using ccmake. Is this something of concern?
Regards,
Jenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130503/981273f0/attachment-0001.html>
More information about the Gate-users
mailing list