Skip to content

build failure #39

@anadon

Description

@anadon

In the "Copying OCaml library component llvm_X86.cmx to intermediate are" invoked from cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo when following the build instructions gives the following error:

CMake Error at bindings/ocaml/llvm/cmake_install.cmake:49 (file):
  file cannot create directory: /usr/lib/ocaml/llvm.  Maybe need
  administrative privileges.
Call Stack (most recent call first):
  bindings/ocaml/cmake_install.cmake:42 (include)
  cmake_install.cmake:66 (include)


make[3]: *** [Makefile:129: install] Error 1
make[2]: *** [igc/IGC/BiFModule/clang_build/CMakeFiles/cclang.dir/build.make:131: igc/IGC/BiFModule/clang_build/src/src/cclang-stamp/cclang-install] Error 2
make[1]: *** [CMakeFiles/Makefile2:1515: igc/IGC/BiFModule/clang_build/CMakeFiles/cclang.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

which seems to imply that configuration requires root. This looks like a minor bug, but it does cause fairly significant worry for packagers.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions