I’m trying to install the latest 6.18.04 root on my Ubuntu 18.04 and meet error when I do the
cmake …/root-6.18.04 -Dall =ON
the Cmake do not complete with the error
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:825 (message):
The Alien plugin requires option ‘xrootd’ to be enabled. Re-run the
configuration with ‘xrootd=ON’
Call Stack (most recent call first):
CMakeLists.txt:159 (include)
I tried to make with -xrootd=ON or -Dxrootd=ON but it doesn’t work else.
I tried to install the xrootd but can’t find the installXrootd.sh in the file as noticed on https://root.cern.ch/installing-xrootd.
I notice there is a version for ubuntu that can use directly unpacked, but it somewhat can not connect the kernel when I use the jupyter notebook.
Both of these problem seems do not happen on the older version 6.16.00
How can I solve this problem if I want to use 6.18.04?
Thank you.
I tried this but still can’t work,
When I use -Dall=ON -Dbuiltin_xrootd=ON the same error come out
When I change the order as -Dbuiltin_xrootd=ON -Dall=ON another error comes
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:1335 (enable_language):
No CMAKE_CUDA_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable “CUDACXX” or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:159 (include)
If I do not set anything whnn do the cmake it works, but will be error when I want to use Minuit2, I also tried to turn on Minuit2 only when doing cmake but it still can’t work and have same error as when I set -Dall=ON.
For the ready-to-use version yes I tried and it works, but it doesn’t work when I use the jupiter notebook the kernel can not start. This problem do not happen on either 6.16 or 6.18 when I install manually.
-- ROOT default compression algorithm: zlib
CMake Deprecation Warning at cmake/modules/RootBuildOptions.cmake:358 (message):
>>> Option 'memstat' is deprecated and will be removed in the next release
of ROOT. Please contact root-dev@cern.ch should you still need it.
Call Stack (most recent call first):
CMakeLists.txt:109 (include)
CMake Deprecation Warning at cmake/modules/RootBuildOptions.cmake:358 (message):
>>> Option 'vmc' is deprecated and will be removed in the next release of
ROOT. Please contact root-dev@cern.ch should you still need it.
Call Stack (most recent call first):
CMakeLists.txt:109 (include)
-- Found a Mac OS X System 10.15
-- Found a 64bit system
-- Found LLVM compiler collection
-- ROOT Platform: macosx
-- ROOT Architecture: macosx64
-- Build Type: RelWithDebInfo
-- Compiler Flags: -std=c++11 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
-- Looking for ZLib
-- Building freetype version 2.6.1 included in ROOT itself
-- Looking for PCRE
-- Looking for LZMA
-- Found LZMA includes at /opt/local/include
-- Found LZMA library at /opt/local/lib/liblzma.dylib
-- Looking for LZ4
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Building AfterImage library included in ROOT itself
-- Looking for python
-- Looking for OpenGL
-- Looking for LibXml2
-- Looking for SQLite
-- Downloading and building XROOTD version
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
-- The CUDA compiler identification is unknown
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:1335 (enable_language):
No CMAKE_CUDA_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:159 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/maurocutuli/Desktop/root_v6/CMakeFiles/CMakeOutput.log".
See also "/Users/maurocutuli/Desktop/root_v6/CMakeFiles/CMakeError.log".
Please disable the options you can’t build if you use -Dall=ON (e.g. -Dcuda=OFF -Dtmva-gpu=OFF). In the case of OP, it’s -Dalien=OFF and maybe -Dxrootd=OFF if the builtin one fails to build.
I tried to installed xrootd independently
and reinstalled my nvidia gpu drive and cuda_toolkit
It can build now but still have error at next step of build to 57%
I opened another topic for that problem
I tried without setting anything, and another error occour
CMake Error at /usr/share/cmake-3.10/Modules/FindX11.cmake:429 (message):
Could not find X11
Call Stack (most recent call first):
cmake/modules/SearchInstalledSoftware.cmake:9 (_find_package)
cmake/modules/SearchInstalledSoftware.cmake:246 (find_package)
CMakeLists.txt:159 (include)
I followed the https://root.cern.ch/build-prerequisites and installed everything.
I now installed the 6.16.00 version instead. but still fill confused why this happen on the new version
Thanks