leaningtech / cheerp-meta

Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript
https://labs.leaningtech.com/cheerp
Other
1.03k stars 51 forks source link

Problems during build/install of 'Cheerp LLVM/clang based compiler' #72

Closed johanax closed 6 years ago

johanax commented 6 years ago

Hi, during build/install of 'Cheerp LLVM/clang based compiler' on a Linux machine I get the following error messages:

make install . . . -- Installing: /opt/cheerp/lib/libclangStaticAnalyzerFrontend.a -- Installing: /opt/cheerp/lib/libclangFormat.a -- Installing: /opt/cheerp/bin/clang-3.7 CMake Error at tools/clang/tools/driver/cmake_install.cmake:36 (file): file INSTALL cannot copy file "/root/cheerp/cheerp-llvm/build/bin/clang-3.7" to "/opt/cheerp/bin/clang-3.7". Call Stack (most recent call first): tools/clang/tools/cmake_install.cmake:38 (include) tools/clang/cmake_install.cmake:55 (include) tools/cmake_install.cmake:73 (include) cmake_install.cmake:61 (include)

Makefile:104: recipe for target 'install' failed make: *** [install] Error 1

Regards Johan

alexp-sssup commented 6 years ago

Hello, this seems to be either a permission issue or a disk space issue. Please check that you have the right permissions to copy the clang-3.7 executable to /opt/cheerp/bin/ and that there is enough disk space to do so.

johanax commented 6 years ago

Thanks, there was not enough disk space :/)

Regards Johan