After providing all dependencies and doing the git submodules configuration, blender building fails on CentOS 8.1 with the messages below. I redacted the name of the directory but it is my home directory as expected.
[100%] Built target buildinfoobj [100%] Linking CXX executable ../../bin/blender now run: "make install" to copy runtime files and scripts to 3.4 [100%] Built target blender Install the project... -- Install configuration: "Release" CMake Error at source/creator/cmake_install.cmake:220 (file): file INSTALL cannot find "/home/(directory name redacted)/blender-git/build_linux_headless/bin/blender": No such file or directory. Call Stack (most recent call first): cmake_install.cmake:51 (include)
The directory exists at the indicated path, but there is no file “blender” in this directory.
Here I was building a headless version with “make headless”, but the problem persists even if I do a regular “make” command.