Root executable not found after a successful `make install`, `root-config` is found anyway

I have pulled root from Git, compiled on 6.20/04 using cmake from the build directory.

Everything seemed to work fine, I have even root-config command accessible.

source /path/to/install/thisroot.sh
root-config --version

gives 6.20/04.

However no root executable is found. I had to disable X11, I have previously compiled and installed root on other systems with this version. The difference now is that I am disabling X11.

My bin directory looks like this

No trace of the usual root executable in Linux.

output from cmake

/git/root/build$ cmake -Dx11=OFF -Dxft=OFF …/
– Looking for python
– Preferring Python version 2
– ROOT default compression algorithm: zlib
– Found GCC. Major version 6, minor version 3
– Found a 64bit system
– Found GNU compiler collection
– ROOT Platform: linux
– ROOT Architecture: linuxx8664gcc
– Build Type: Release (flags = ‘-O3 -DNDEBUG’)
– Compiler Flags: -O3 -DNDEBUG -std=c++11 -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread
– Looking for ZLib
– Building freetype version 2.6.1 included in ROOT itself
– Building LZMA version 5.2.4 included in ROOT itself
– Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
– Building LLVM in ‘Release’ mode.
– Native target architecture is X86
– Threads disabled.
– Doxygen disabled.
– Go bindings disabled.
– LLVM host triple: x86_64-unknown-linux-gnu
– LLVM default target triple: x86_64-unknown-linux-gnu
– Building with -fPIC
– Constructing LLVMBuild project information
– Linker detection: GNU ld
– SysLibs: rt;dl;-lpthread;/usr/lib/x86_64-linux-gnu/libz.so
– Targeting X86
– Targeting NVPTX
– Clang version: 5.0.0
– Cling version (from VERSION file): ROOT_0.7~dev
– Cling will look for C++ headers in ‘/usr/include/c++/6:/usr/include/x86_64-linux-gnu/c++/6:/usr/include/c++/6/backward’ at runtime.
– And then fallback to: ‘x86_64-linux-gnu-g+±6’
– Use SSL API VERSION 1.1 for civetweb
– Performing Test found_stdstringview
– Performing Test found_stdstringview - Failed
– Performing Test found_stdexpstringview
– Performing Test found_stdexpstringview - Failed
– Performing Test found_stdapply
– Performing Test found_stdapply - Failed
– Performing Test found_stdinvoke
– Performing Test found_stdinvoke - Failed
– Performing Test found_stdindexsequence
– Performing Test found_stdindexsequence - Failed
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
– Enabled support for: builtin_clang builtin_freetype builtin_llvm builtin_lz4 builtin_lzma builtin_pcre builtin_tbb builtin_vdt builtin_xxhash builtin_zstd clad dataframe exceptions gdml http imt mlp pyroot roofit runtime_cxxmodules shared ssl tmva tmva-pymva spectrum vdt
– Configuring done
– Generating done
– Build files have been written to: /home/jgalan/git/root/build

Use “root.exe”.

Ok, I see that works. But why the standard root executable disappeared from my installation?

root is just a wrapper around root.exe and is only available when X11 is enabled. It handles some environment variables, the splash screen, etc. Just use root.exe, as suggested by @Wile_E_Coyote.

Ok, thanks, I had to do a ln -s root.exe root at my local installation bin to work around other scripts directly using the wrapper.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.