|Message: Running Cmake: "Found CLHEP Version 22.214.171.124" followed by "Could NOT find CLHEP"||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)|
Hi All A while ago i was trying to run example B1 and B2 to see whether GEANT was installed correctly on my pc or not. The installation using Cmake ran fine, but when executing exampleB1 (and also exampleB2a & exampleB2b) I get only this output: Segmentation fault (core dumped) In this forum I found some people having a similar problem: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1722.html http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1722/1/2.html so I decided to detailed my problem in that thread: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1722/1/1/1/1/1.html As far as I understood no solution has been found up to now for this problem, so I was trying to solve / investigate / explore a bit myself and I stumbled upon the FAQ: http://geant4.web.cern.ch/geant4/support/faq.shtml#runtime-1 stating that: "On Linux, I get a segmentation fault as soon as I run one of the official examples. Solution: Check that the CLHEP library has been installed and compiled coherently with the same compiler you use for installing Geant4 and for the same version of Linux distribution. For example, a binary object produced with Red-Hat 7.X is not fully compatible with binaries running on RH 9.X or higher, due to different libc used in the two configurations." Since I already have a ROOT 6.02/05 version installed, I am not sure whether CLHEP libraries might clash between my GEANT4.10.01.p02 installation and ROOT. So I decided to install CLHEP from source and to give the directory in the Cmake command to build GEANT. When running cmake with following arguments: cmake -DCMAKE_INSTALL_PREFIX=/srv/local/GEANT4/geant4.10.01.p02-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_SYSTEM_CLHEP=ON -DCLHEP_INCLUDE_DIR=/srv/local/CLHEP/clhep\ -126.96.36.199-install/include /srv/local/GEANT4/geant4.10.01.p02 I get this error message: -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found CLHEP Version 188.8.131.52 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find CLHEP: CLHEP Library Not Found (missing: CLHEP_LIBRARY) (Required is at least version "184.108.40.206") Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) cmake/Modules/FindCLHEP.cmake:297 (find_package_handle_standard_args) cmake/Modules/Geant4OptionalComponents.cmake:58 (find_package) CMakeLists.txt:99 (include) -- Configuring incomplete, errors occurred! See also "/home/piet/local/GEANT4/geant4.10.01.p02-build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. Reading here (GEANT4.9 though): http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/InstallationGuide/BackupVersions/V9.4/html/ch04s02.html The detection of CLHEP relies on having the clhep-config script in the PATH, and if this is not the case on your system, you may see an error CMake Error at /usr/share/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE): Failed to find CLHEP (missing: CLHEP_VERSION_OK CLHEP_LIBRARIES CLHEP_INCLUDE_DIRS) Call Stack (most recent call first): cmake/Modules/FindCLHEP.cmake:118 (find_package_handle_standard_args) CMakeLists.txt:114 (find_package) -- Configuring incomplete, errors occurred! If you see this error, you should either add the location of clhep-config to your PATH and re-run cmake as above, or re-run cmake and pass it the full path to clhep-config as $ cmake -DCLHEP_CONFIG_EXECUTABLE=/full/path/to/clhep-config ../geant4.9.4 So I tried both to add clhep-config in my PATH and to pass it to the cmake command: cmake -DCMAKE_INSTALL_PREFIX=/srv/local/GEANT4/geant4.10.01.p02-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_SYSTEM_CLHEP=ON -DCLHEP_INCLUDE_DIR=/srv/local/CLHEP/clhep-2\ .2.0.8-install/include -DCLHEP_CONFIG_EXECUTABLE=/srv/local/CLHEP/clhep-220.127.116.11-build/clhep-config /srv/local/GEANT4/geant4.10.01.p02 but nothing changes and I still get: -- Found CLHEP Version 18.104.22.168 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find CLHEP: CLHEP Library Not Found (missing: CLHEP_LIBRARY) (Required is at least version "22.214.171.124") Does anyone have an idea how to tackle this problem? Thanks a lot Kind regards Piet Verwilligen
|Inline Depth:||Outline Depth:||Add message:|