CERN ROOT CMake Errors - 2020.01.02
1. What I, as a freshman, was doing on that day earlier
- OS: Ubuntu 18
- gcc-4.85
- g++ -4.85
- ROOT-v5.34.36
水平不高,所以只能老老实实地按照CERN ROOT Building ROOT 上说的做。先按Get ROOT sources上的两行代码下载并解压ROOT的安装包。如果是从Download - All Releases上手动下载的话,可能会遇到安装包里没有CMakeList(还是叫什么来着)这个文件,导致不能执行cmake。
$ cmake path/to/source
从Get ROOT sources下载好安装包,再此尝试上面这条命令时如到了另一个问题,内容如下。
1.1 ‘CMakeError.log’ says that
Determining if the pthread_create exist failed with the following output:
Change Dir: /media/ms/Research/PDFit/cern_root/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" “cmTC_18881/fast”
/usr/bin/make -f CMakeFiles/cmTC_18881.dir/build.make CMakeFiles/cmTC_18881.dir/build
make[1]: 进入目录“/media/ms/Research/PDFit/cern_root/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_18881.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_18881.dir/CheckSymbolExists.c.o -c /media/ms/Research/PDFit/cern_root/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_18881
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18881.dir/link.txt --verbose=1
/usr/bin/