Root 6.14 Install Error on Ubuntu 18 Due to VDT


_ROOT Version: 6.14.02
_Platform: Ubuntu 18.04.1 LTS
_Compiler: gcc 7.3.0


I am attempting to install ROOT from source on Ubuntu using the following commands:

cmake /path/to/src
cmake --build .

The second command fails with the following error:

CMake Error at /home/name/root/VDT-prefix/src/VDT-stamp/VDT-configure-RelWithDebInfo.cmake:16 (message):
  Command failed: 1

   '/usr/bin/cmake' '-DSSE=OFF' '-DCMAKE_BUILD_TYPE=RelWithDebInfo' '-DCMAKE_C_COMPILER=/usr/bin/cc' '-DCMAKE_CXX_COMPILER=/usr/bin/c++' '-DCMAKE_C_FLAGS= -Wno-implicit-fallthrough -pipe -m64 -Wall -W -pthread' '-DCMAKE_CXX_FLAGS= -Wno-implicit-fallthrough -Wno-noexcept-type -pipe -m64  -Wshadow s/root/VD-Wall -W -Woverloaded-virtual -fsigned-char -pthread -std=c++11' '-DCMAKE_INSTALL_PREFIX=/home/name/root' '-GUnix Makefiles' '/home/name/root/VDT-prefix/src/VDT'

  See also

    /home/name/root/VDT-prefix/src/VDT-stamp/VDT-configure-*.log


CMakeFiles/VDT.dir/build.make:106: recipe for target 'VDT-prefix/src/VDT-stamp/VDT-configure' failed
make[2]: *** [VDT-prefix/src/VDT-stamp/VDT-configure] Error 1
CMakeFiles/Makefile2:325: recipe for target 'CMakeFiles/VDT.dir/all' failed
make[1]: *** [CMakeFiles/VDT.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

I find two files that fit the reference:

/home/name/root/VDT-prefix/src/VDT-stamp/VDT-configure-*.log

These are VDT-configure-err.log, which contains:

DIAG option is now off, building library only
CMake Error at lib/CMakeLists.txt:19 (ADD_LIBRARY):
  Cannot find source file:

    /home/name/root/VDT-prefix/src/VDT/src/vdtMath_signatures.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error: CMake can not determine linker language for target: vdt
CMake Error: Cannot determine link language for target "vdt".

And VDT-configure-out.log, which contains:

- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
running cd src;python /home/name/root/VDT-prefix/src/VDT/src/signatures_generator.py   -o /home/name/root/VDT-prefix/src/VDT/src;cd - 2>&1
/home/name/root/VDT-prefix/src/VDT-build
/bin/sh: 1: python: not found
-- Libraries are configured as: SHARED
-- Configuring done
-- Generating done
-- Build files have been written to: /home/name/root/VDT-prefix/src/VDT-build

Thank you for your help.

I think that this is the main problem. You need Python to be able to install ROOT. It’s a dependency not only of VDT, but also LLVM.

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