CMake Error at TBB-stamp Reported During ROOT Compilation
Symptom
"CMake Error at TBB-stamp" is reported during ROOT compilation. The error information is similar to the following:
CMake Error at TBB-stamp/TBB-download-RelWithDebInfo.cmake:49 (message):
Command failed: 1
'/storage/softwares/TaiShan/CNVnator/CMAKE/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/storage/softwares/TaiShan/CNVnator/ROOT-6.18/TBB-prefix/src/TBB-stamp/TBB-download-RelWithDebInfo-impl.cmake'
Key Process and Cause Analysis
Such a failure to find the file is due to the cluster's failure to connect to the network.
Conclusion and Solution
Save the downloaded installation package to the folder generated after CMake is installed. For details, see Configuring the Compilation Environment > Installing CMake in the CNVnator 0.4.1 Porting Guide (CentOS 7.6).