[CMake] Troubles compiling llvm
Albrecht Schlosser
AlbrechtS.fltk at online.de
Thu May 23 05:37:44 EDT 2019
Am 23.05.2019 10:40 schrieb Steven Truppe:
> i'm trying to compile llvm with ExternalProject_Add and get the
> following error:
>
> -- Installing: /usr/lib/ocaml/llvm/llvm.mli
> CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
> file INSTALL cannot copy file
> "/home/stuv/linux-projects/programming/bsEdit/build_files/Release/llvm/src/external_llvm-build/bindings/ocaml/llvm/llvm.mli"
>
> to "/usr/lib/ocaml/llvm/llvm.mli".
> Call Stack (most recent call first):
> bindings/ocaml/cmake_install.cmake:42 (include)
> cmake_install.cmake:64 (include)
This sounds like you need access rights, you probably need to use:
$ sudo make install
(unless the file doesn't exist, but I assume this would be another error
message)
More information about the CMake
mailing list