ROOT 6.12.06 build fails on CentOS 7 (LZ4)

make error:

[ 70%] Performing install step for 'LZ4'
CMake Error at /root/software/root/root-6.12.06/install-build/LZ4-prefix/src/LZ4-stamp/LZ4-install-RelWithDebInfo.cmake:16 (message):
  Command failed: 1

   '/usr/bin/cmake3' '-DCMAKE_INSTALL_PREFIX=/root/software/root/root-6.12.06/install-build' '-P' 'cmake_install.cmake'

  See also

    /root/software/root/root-6.12.06/install-build/LZ4-prefix/src/LZ4-stamp/LZ4-install-*.log


make[2]: *** [LZ4-prefix/src/LZ4-stamp/LZ4-install] Error 1
make[1]: *** [CMakeFiles/LZ4.dir/all] Error 2
make: *** [all] Error 2

Additional error in LZ4-install-err.log:

 more /root/software/root/root-6.12.06/install-build/LZ4-prefix/src/LZ4-stamp/LZ4-install-err.log                                                               
CMake Error at cmake_install.cmake:36 (file):
  file INSTALL cannot find
  "/root/software/root/root-6.12.06/install-build/LZ4-prefix/src/LZ4/CMakeFiles/CMakeRelink.dir/lz4".

I see that lz4 is in LZ4-prefix/src/LZ4 moving it to LZ4-prefix/src/LZ4/CMakeFiles/CMakeRelink.dir satisfies this error message, but then another is generated about lz4c. Moving both lz4 and lz4c seems to resolve the issue.

@amadio can you have a look at this one? Thanks!

I have never seen that error before. It could be due to changing configuration of the build directory without calling make clean, or removing parts of the build directory. In any case, on the master branch we do not use ExternalPackage_Add for LZ4 anymore, so you will not see this error if you use the master branch.

The master built without issue.

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