GSI Forum - RDF feed
https://forum.gsi.de/index.php
cmake fails with newest fairsoft/fairroot on stretch
https://forum.gsi.de/index.phpindex.php?t=rview&goto=24590&th=6958#msg_24590
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!
]]>Bastian Löher2020-01-16T06:59:10-00:00Re: cmake fails with newest fairsoft/fairroot on stretch
https://forum.gsi.de/index.phpindex.php?t=rview&goto=24594&th=6958#msg_24594
export PATH=$SIMPATH/bin:$PATH
]]>Dmytro Kresan2020-01-16T08:48:47-00:00Re: cmake fails with newest fairsoft/fairroot on stretch
https://forum.gsi.de/index.phpindex.php?t=rview&goto=24598&th=6958#msg_24598
/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]]>Dmytro Kresan2020-01-16T09:06:22-00:00Re: cmake fails with newest fairsoft/fairroot on stretch
https://forum.gsi.de/index.phpindex.php?t=rview&goto=24608&th=6958#msg_24608
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].]]>Bastian Löher2020-01-17T08:36:06-00:00