[Gate-users] Install geant4 problem
Andrew Green
Andrew.Green at hep.manchester.ac.uk
Fri May 9 11:53:22 CEST 2014
Hi Michal,
You can change the GEANT4_USE_SYSTEM_CLHEP option to “OFF” (by scrolling to it with the arrow keys and then pressing return)
This will make Geant build its own copy of CLHEP, which is guaranteed to work.
Hope this helps!
Andrew Green
Accelerator Physics Group,
The University of Manchester
andrew.green at hep.manchester.ac.uk
On 8 May 2014, at 15:12, <gate-users-request at lists.opengatecollaboration.org> <gate-users-request at lists.opengatecollaboration.org> wrote:
> Send Gate-users mailing list submissions to
> gate-users at lists.opengatecollaboration.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
> gate-users-request at lists.opengatecollaboration.org
>
> You can reach the person managing the list at
> gate-users-owner at lists.opengatecollaboration.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
> 1. Install geant4 problem (Michal Knap)
> 2. Re: Install geant4 problem (Pedro Correia)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 May 2014 16:41:06 +0200
> From: Michal Knap <michal.knap at gmail.com>
> To: "gate-users at lists.opengatecollaboration.org"
> <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Install geant4 problem
> Message-ID:
> <CAL4D=HJj7anrUDGGfhHYYf0HshMXQKAO+hdALvESdj-Oj0odyA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi all,
> I'm trying to install geant4.9.6.p03 and than gate 6.2 but i have problem
> with Geant4. After typing ccmake ../geant4.9.6.p03 i get this:
> Page 1 of 1
> CLHEP_INCLUDE_DIR /home/mknap/2.1.1.0/CLHEP
>
> CLHEP_LIBRARY /home/mknap/2.1.1.0/CLHEP/lib
>
> CMAKE_BUILD_TYPE
> Release
>
> CMAKE_INSTALL_PREFIX
> /usr/local
>
> GEANT4_INSTALL_DATA
> ON
>
> GEANT4_INSTALL_DATADIR
> home/mknap/geant4.9.6.p03-install
>
> GEANT4_USE_G3TOG4
> OFF
>
> GEANT4_USE_GDML
> OFF
>
> GEANT4_USE_INVENTOR
> OFF
>
> GEANT4_USE_OPENGL_X11
> ON
>
> GEANT4_USE_QT
> ON
>
> GEANT4_USE_RAYTRACER_X11
> OFF
>
> GEANT4_USE_SYSTEM_CLHEP
> ON
>
> GEANT4_USE_SYSTEM_EXPAT
> ON
>
> GEANT4_USE_XM
> OFF
>
>
> CLHEP_INCLUDE_DIR: Path to the CLHEP
> headers
>
> Press [enter] to edit
> option
> CMake Version 2.8.7
> Press [c] to configure
> Press [h] for help Press [q] to quit without generating
> Press [t] to toggle advanced mode (Currently Off)
>
> and when i'm trying to configure i get this:
> CMake Error at cmake/Modules/FindCLHEP.cmake:179 (file):
> file Internal CMake error when trying to open file:
> /home/mknap/2.1.1.0/CLHEP/CLHEP/Units/defs.h for reading.
> Call Stack (most recent call first):
> cmake/Modules/Geant4OptionalComponents.cmake:37 (find_package)
> CMakeLists.txt:79 (include)
>
>
>
> CMake Error at
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
> (MESSAGE):
> Could NOT find CLHEP:
>
> Incompatible versions, (found) < 2.1.2.3(required)
>
> (missing: CLHEP_VERSION_COMPATIBLE) (Required is at least version
> "2.1.2.3")
> Call Stack (most recent call first):
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
> (_FPHSA_FAILURE_MESSAGE)
> cmake/Modules/FindCLHEP.cmake:238 (find_package_handle_standard_args)
> cmake/Modules/Geant4OptionalComponents.cmake:37 (find_package)
> CMakeLists.txt:79 (include)
>
>
> Errors occurred during the last
> pass
>
>
> CMake Version 2.8.7
> Press [e] to exit help
>
> What is wrong?
> here is my list of binaries and directories:
>
> root at mknap-hp:/home/mknap# ls -a
> ls: nie ma dost?pu do .gvfs: Brak dost?pu
> . .dbus
> gate_v6_2_tar_gz_15843.gz lmf_v3_0_tar_gz_42819.gz .pulse-cookie
> .. .dmrc GATE -
> binaria .local RealSurface.1.0.tar.gz
> 2.1.1.0 Dokumenty
> .gconf .macromedia root_v5.34.18
> .adobe examples.desktop
> geant4.9.6.p03 .mission-control
> root_v5.34.18.source.tar.gz
> .bash_history .fontconfig
> geant4.9.6.p03-build .mozilla Szablony
> .bash_logout G4EMLOW.6.32_permissions.tar.gz
> geant4.9.6.p03-install Muzyka .thumbnails
> .bashrc G4NDL.4.2.tar.gz
> geant4.9.6.p03.tar.gz Obrazy Wideo
> .cache G4NDL4.2.TS.tar.gz
> .gnome2 opengate-public .Xauthority
> clhep-2.1.1.0.tgz G4NEUTRONXS.1.2.tar.gz
> .gnome2_private Pobrane .xsession-errors
> clhep-2.1.3.1.tgz G4PhotonEvaporation.2.3.tar.gz
> .gstreamer-0.10 .profile .xsession-errors.old
> C:\nppdf32Log\debuglog.txt G4PII.1.3.tar.gz
> .gtk-bookmarks Publiczny
> .compiz-1 G4RadioactiveDecay.3.6.tar.gz
> .gvfs Pulpit
> .config G4SAIDDATA.1.1.tar.gz
> .ICEauthority .pulse
>
> root at mknap-hp:/home/mknap# cd geant4.9.6.p03
> root at mknap-hp:/home/mknap/geant4.9.6.p03# ls -a
> . .. cmake CMakeLists.txt config environments examples LICENSE
> ReleaseNotes source
> root at mknap-hp:/home/mknap/geant4.9.6.p03# cd ..
> root at mknap-hp:/home/mknap# cd geant4.9.6.p03-build/
> root at mknap-hp:/home/mknap/geant4.9.6.p03-build# ls -a
> . cmake_uninstall.cmake
> Geant4Config.cmake geant4_validate_sources.cmake source
> .. cmake_uninstall.cmake.in
> Geant4ConfigVersion.cmake InstallTreeFiles UseGeant4.cmake
> CMakeCache.txt CPackConfig.cmake
> Geant4LibraryDepends.cmake LICENSE.txt
> UseGeant4_internal.cmake
> CMakeCPackOptions.cmake CPackSourceConfig.cmake
> geant4make.csh Modules
> CMakeFiles geant4-config
> geant4make.sh README.txt
>
> root at mknap-hp:/home/mknap/geant4.9.6.p03-build# cd ..
> root at mknap-hp:/home/mknap# cd 2.1.1.0/
> root at mknap-hp:/home/mknap/2.1.1.0# cd CLHEP/
> root at mknap-hp:/home/mknap/2.1.1.0/CLHEP# ls -a
> . clhep-config .cvsignore
> Geometry-library-list makeSourceDist RefCount-dep-list
> .. clhep-config.in doxygen.conf
> getObjectList makeSourceDist.in RefCount-library-list
> aclocal.m4 clheplib doxygen.template
> getObjectList.in Matrix setup.cygwin-VC71
> autom4te.cache ClhepVersion.h Evaluator
> include Matrix-dep-list Units
> bin cmake Evaluator-dep-list
> INSTALL Matrix-library-list Units-dep-list
> bootstrap CMakeLists.txt Evaluator-library-list
> install-sh missing Units-library-list
> build-clheplib compilers.txt Exceptions
> lib Random Utility
> build-clheplib.in config.guess Exceptions-dep-list
> libCLHEP-2.1.1.0.a Random-dep-list Utility-dep-list
> buildDoxy.sh config.log Exceptions-library-list
> libCLHEP-2.1.1.0.so Random-library-list Utility-library-list
> build-header config.status Fields
> library-list RandomObjects Vector
> build-header.in config.sub GenericFunctions
> makeBinaryTar RandomObjects-dep-list Vector-dep-list
> Cast configure GenericFunctions-dep-list
> makeBinaryTar.in RandomObjects-library-list Vector-library-list
> Cast-dep-list configure.ac GenericFunctions-library-list
> Makefile README
> Cast-library-list COPYING Geometry
> Makefile.am ReadMe.cygwin
> ChangeLog COPYING.LESSER Geometry-dep-list
> Makefile.in RefCount
> root at mknap-hp:/home/mknap/2.1.1.0/CLHEP#
>
>
> Thanks in advance
> Micha? Knap
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140508/d4cac17d/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 8 May 2014 14:47:16 +0000
> From: Pedro Correia <pmcorreia at ua.pt>
> To: Michal Knap <michal.knap at gmail.com>,
> "gate-users at lists.opengatecollaboration.org"
> <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Install geant4 problem
> Message-ID: <D7153556BEE64B42A5ED25F1AA9057034D1B9A1A at CEDRO.ua.pt>
> Content-Type: text/plain; charset="iso-8859-2"
>
> Hi Michael
>
> I think that you have to use a more recent version of chlep since you are using geant4.9.6-p03.
>
> Regards, Pedro Correia
> ________________________________________
> De: gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] em nome de Michal Knap [michal.knap at gmail.com]
> Enviado: quinta-feira, 8 de Maio de 2014 15:41
> Para: gate-users at lists.opengatecollaboration.org
> Assunto: [Gate-users] Install geant4 problem
>
> Hi all,
> I'm trying to install geant4.9.6.p03 and than gate 6.2 but i have problem with Geant4. After typing ccmake ../geant4.9.6.p03 i get this:
> Page 1 of 1
> CLHEP_INCLUDE_DIR /home/mknap/2.1.1.0/CLHEP<http://2.1.1.0/CLHEP>
> CLHEP_LIBRARY /home/mknap/2.1.1.0/CLHEP/lib<http://2.1.1.0/CLHEP/lib>
> CMAKE_BUILD_TYPE Release
> CMAKE_INSTALL_PREFIX /usr/local
> GEANT4_INSTALL_DATA ON
> GEANT4_INSTALL_DATADIR home/mknap/geant4.9.6.p03-install
> GEANT4_USE_G3TOG4 OFF
> GEANT4_USE_GDML OFF
> GEANT4_USE_INVENTOR OFF
> GEANT4_USE_OPENGL_X11 ON
> GEANT4_USE_QT ON
> GEANT4_USE_RAYTRACER_X11 OFF
> GEANT4_USE_SYSTEM_CLHEP ON
> GEANT4_USE_SYSTEM_EXPAT ON
> GEANT4_USE_XM OFF
>
> CLHEP_INCLUDE_DIR: Path to the CLHEP headers
> Press [enter] to edit option CMake Version 2.8.7
> Press [c] to configure
> Press [h] for help Press [q] to quit without generating
> Press [t] to toggle advanced mode (Currently Off)
>
> and when i'm trying to configure i get this:
> CMake Error at cmake/Modules/FindCLHEP.cmake:179 (file):
> file Internal CMake error when trying to open file:
> /home/mknap/2.1.1.0/CLHEP/CLHEP/Units/defs.h<http://2.1.1.0/CLHEP/CLHEP/Units/defs.h> for reading.
> Call Stack (most recent call first):
> cmake/Modules/Geant4OptionalComponents.cmake:37 (find_package)
> CMakeLists.txt:79 (include)
>
>
>
> CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
> Could NOT find CLHEP:
>
> Incompatible versions, (found) < 2.1.2.3(required)
>
> (missing: CLHEP_VERSION_COMPATIBLE) (Required is at least version "2.1.2.3")
> Call Stack (most recent call first):
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
> cmake/Modules/FindCLHEP.cmake:238 (find_package_handle_standard_args)
> cmake/Modules/Geant4OptionalComponents.cmake:37 (find_package)
> CMakeLists.txt:79 (include)
>
>
> Errors occurred during the last pass
> CMake Version 2.8.7
> Press [e] to exit help
>
> What is wrong?
> here is my list of binaries and directories:
>
> root at mknap-hp:/home/mknap# ls -a
> ls: nie ma dost?pu do .gvfs: Brak dost?pu
> . .dbus gate_v6_2_tar_gz_15843.gz lmf_v3_0_tar_gz_42819.gz .pulse-cookie
> .. .dmrc GATE - binaria .local RealSurface.1.0.tar.gz
> 2.1.1.0 Dokumenty .gconf .macromedia root_v5.34.18
> .adobe examples.desktop geant4.9.6.p03 .mission-control root_v5.34.18.source.tar.gz
> .bash_history .fontconfig geant4.9.6.p03-build .mozilla Szablony
> .bash_logout G4EMLOW.6.32_permissions.tar.gz geant4.9.6.p03-install Muzyka .thumbnails
> .bashrc G4NDL.4.2.tar.gz geant4.9.6.p03.tar.gz Obrazy Wideo
> .cache G4NDL4.2.TS.tar.gz .gnome2 opengate-public .Xauthority
> clhep-2.1.1.0.tgz G4NEUTRONXS.1.2.tar.gz .gnome2_private Pobrane .xsession-errors
> clhep-2.1.3.1.tgz G4PhotonEvaporation.2.3.tar.gz .gstreamer-0.10 .profile .xsession-errors.old
> C:\nppdf32Log\debuglog.txt G4PII.1.3.tar.gz .gtk-bookmarks Publiczny
> .compiz-1 G4RadioactiveDecay.3.6.tar.gz .gvfs Pulpit
> .config G4SAIDDATA.1.1.tar.gz .ICEauthority .pulse
>
> root at mknap-hp:/home/mknap# cd geant4.9.6.p03
> root at mknap-hp:/home/mknap/geant4.9.6.p03# ls -a
> . .. cmake CMakeLists.txt config environments examples LICENSE ReleaseNotes source
> root at mknap-hp:/home/mknap/geant4.9.6.p03# cd ..
> root at mknap-hp:/home/mknap# cd geant4.9.6.p03-build/
> root at mknap-hp:/home/mknap/geant4.9.6.p03-build# ls -a
> . cmake_uninstall.cmake Geant4Config.cmake geant4_validate_sources.cmake source
> .. cmake_uninstall.cmake.in<http://cmake_uninstall.cmake.in> Geant4ConfigVersion.cmake InstallTreeFiles UseGeant4.cmake
> CMakeCache.txt CPackConfig.cmake Geant4LibraryDepends.cmake LICENSE.txt UseGeant4_internal.cmake
> CMakeCPackOptions.cmake CPackSourceConfig.cmake geant4make.csh Modules
> CMakeFiles geant4-config geant4make.sh README.txt
>
> root at mknap-hp:/home/mknap/geant4.9.6.p03-build# cd ..
> root at mknap-hp:/home/mknap# cd 2.1.1.0/<http://2.1.1.0/>
> root at mknap-hp:/home/mknap/2.1.1.0#<http://2.1.1.0#> cd CLHEP/
> root at mknap-hp:/home/mknap/2.1.1.0/CLHEP#<http://2.1.1.0/CLHEP#> ls -a
> . clhep-config .cvsignore Geometry-library-list makeSourceDist RefCount-dep-list
> .. clhep-config.in<http://clhep-config.in> doxygen.conf getObjectList makeSourceDist.in RefCount-library-list
> aclocal.m4 clheplib doxygen.template getObjectList.in Matrix setup.cygwin-VC71
> autom4te.cache ClhepVersion.h Evaluator include Matrix-dep-list Units
> bin cmake Evaluator-dep-list INSTALL Matrix-library-list Units-dep-list
> bootstrap CMakeLists.txt Evaluator-library-list install-sh missing Units-library-list
> build-clheplib compilers.txt Exceptions lib Random Utility
> build-clheplib.in<http://build-clheplib.in> config.guess Exceptions-dep-list libCLHEP-2.1.1.0.a Random-dep-list Utility-dep-list
> buildDoxy.sh config.log Exceptions-library-list libCLHEP-2.1.1.0.so<http://libCLHEP-2.1.1.0.so> Random-library-list Utility-library-list
> build-header config.status Fields library-list RandomObjects Vector
> build-header.in<http://build-header.in> config.sub GenericFunctions makeBinaryTar RandomObjects-dep-list Vector-dep-list
> Cast configure GenericFunctions-dep-list makeBinaryTar.in RandomObjects-library-list Vector-library-list
> Cast-dep-list configure.ac<http://configure.ac> GenericFunctions-library-list Makefile README
> Cast-library-list COPYING Geometry Makefile.am ReadMe.cygwin
> ChangeLog COPYING.LESSER Geometry-dep-list Makefile.in RefCount
> root at mknap-hp:/home/mknap/2.1.1.0/CLHEP#<http://2.1.1.0/CLHEP#>
>
>
> Thanks in advance
> Micha? Knap
>
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> End of Gate-users Digest, Vol 96, Issue 9
> *****************************************
More information about the Gate-users
mailing list