Build fails: Could not open file for write in copy operation /usr/local/llvm15/lib/cmake/cling/ClingConfig.cmake.tmp
yurivict opened this issue · comments
Describe the bug
cmake configure attempts to write a file into a read-only location under $PREFIX.
-- And then fallback to: 'ccache'
CMake Error: Could not open file for write in copy operation /usr/local/llvm15/lib/cmake/cling/ClingConfig.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at cmake/modules/CMakeLists.txt:22 (configure_file):
configure_file Problem configuring file
Setup
- Cling version: rev.6d52a95
- Operating system: FreeBSD 13.1
- How you obtained Cling, such as with cpt.py: GitHub
/usr/local/llvm15 won't work, you need to use llvm-project from https://github.com/root-project/llvm-project - use the branch called cling-llvm13
. Does that help?