| cmake fails with newest fairsoft/fairroot on stretch [message #24590] | 
			Thu, 16 January 2020 07:59   | 
		 
		
			
				
				
				
					
						  
						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 #24608 is a reply to message #24590] | 
			Fri, 17 January 2020 09:36   | 
		 
		
			
				
				
				
					
						  
						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].
		
		
		
 |  
	| 
		
	 | 
 
 
 |