GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » cmake fails with newest fairsoft/fairroot on stretch
cmake fails with newest fairsoft/fairroot on stretch [message #24590] Thu, 16 January 2020 07:59 Go to next message
Bastian Löher is currently offline  Bastian Löher
Messages: 8
Registered: October 2015
occasional visitor
From: *gsi.de
R3BRoot commit: e099fbd9633c0aa0c3ed31249e3e9c724ca138b1
Path: /u/land/R3BRoot
Machine: lxlandana01
User: land
FairSoft: jun19p2
FairRoot: v18.2.1

Environment: /u/land/fake_cvmfs/env.sh

Steps to reproduce:

source /u/land/fake_cvmfs/env.sh
cd /u/land/R3BRoot/build_stretch
cmake ..

---------------------------

Error Messages:

CMake Error at /u/land/fake_cvmfs/FairSoft/deps/lib/Geant4-10.5.1/GEANT4Config.cmake:36 4 (list):
list sub-command REMOVE_ITEM requires list to be present.
Call Stack (most recent call first):
CMakeLists.txt:303 (find_package)


CMake Error at /u/land/fake_cvmfs/FairSoft/deps/lib/Geant4-10.5.1/GEANT4Config.cmake:39 1 (list):
list sub-command REMOVE_ITEM requires list to be present.
Call Stack (most recent call first):
CMakeLists.txt:303 (find_package)


CMake Error at /u/land/fake_cvmfs/FairSoft/deps/lib/Geant4-10.5.1/GEANT4Config.cmake:72 1 (list):
list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
CMakeLists.txt:303 (find_package)


CMake Error at /u/land/fake_cvmfs/FairSoft/deps/lib/Geant4-10.5.1/GEANT4Config.cmake:72 2 (list):
list sub-command REMOVE_ITEM requires list to be present.
Call Stack (most recent call first):
CMakeLists.txt:303 (find_package)


CMake Warning at CMakeLists.txt:304 (find_package):
By not providing "FindGEANT4DATA.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"GEANT4DATA", but CMake did not find one.

Could not find a package configuration file provided by "GEANT4DATA" with
any of the following names:

GEANT4DATAConfig.cmake
geant4data-config.cmake

Add the installation prefix of "GEANT4DATA" to CMAKE_PREFIX_PATH or set
"GEANT4DATA_DIR" to a directory containing one of the above files. If
"GEANT4DATA" provides a separate development package or SDK, be sure it has
been installed.


CMake Error at CMakeLists.txt:306 (find_package):
By not providing "FindCLHEP.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CLHEP", but
CMake did not find one.

Could not find a package configuration file provided by "CLHEP" with any of
the following names:

CLHEPConfig.cmake
clhep-config.cmake

Add the installation prefix of "CLHEP" to CMAKE_PREFIX_PATH or set
"CLHEP_DIR" to a directory containing one of the above files. If "CLHEP"
provides a separate development package or SDK, be sure it has been
installed.


-- Configuring incomplete, errors occurred!

[Updated on: Thu, 16 January 2020 08:00]

Report message to a moderator

Re: cmake fails with newest fairsoft/fairroot on stretch [message #24594 is a reply to message #24590] Thu, 16 January 2020 09:48 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
In the /u/land/fake_cvmfs/env.sh you have wrong PATH. It should be:

export PATH=$SIMPATH/bin:$PATH
Re: cmake fails with newest fairsoft/fairroot on stretch [message #24598 is a reply to message #24594] Thu, 16 January 2020 10:06 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
I have just tried to run cmake on current dev of R3BRoot with your FairSoft and FairRoot - it works.

/u/land/R3BRoot is not an official version. Has lots of modifications, which is not a problem I think. But it has leftovers of build files in it. Somebody has run cmake from the source directory. In particular CMakeCache.txt could be source of your error.

Best regards,
Dima
Re: cmake fails with newest fairsoft/fairroot on stretch [message #24608 is a reply to message #24590] Fri, 17 January 2020 09:36 Go to previous message
Bastian Löher is currently offline  Bastian Löher
Messages: 8
Registered: October 2015
occasional visitor
From: *gsi.de
Thanks!

I've tried with a new checkout, and it works as you said.

So, there must be something wrong with the source in /u/land/R3BRoot.
I've also tried deleting the leftover build files in the source tree, but that did not help.

So, to conclude: R3BRoot can now be compiled and run on our new analysis machines lxlandana0[1,2].
Previous Topic: Error in R3BRoot CMakeLists.txt dev-branch
Next Topic: error during installation: protocol https not supported
Goto Forum:
  


Current Time: Sun Oct 24 17:46:50 CEST 2021

Total time taken to generate the page: 0.01770 seconds