[Gate-users] Install geant4 problem

Pedro Correia pmcorreia at ua.pt
Thu May 8 16:47:16 CEST 2014


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


More information about the Gate-users mailing list