Nightmare1
@Nightmare1
Программист

Не собирается clang, по какой причине?

Лог сборки
ubuntu@ubuntu:~/workspace/cpp.machinarium/deps/llvm-project$ cmake -S llvm -B build
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- libcxx project is disabled
-- libcxxabi project is disabled
-- libunwind project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- parallel-libs project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 6: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 8: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 28: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 29: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 40: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 42: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 54: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 65: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 68: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config: not found
/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: 71: /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess: Syntax error: word unexpected (expecting "in")
CMake Error at cmake/modules/GetHostTriple.cmake:54 (message):
  Failed to execute
  /home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/llvm/cmake/config.guess
Call Stack (most recent call first):
  cmake/config-ix.cmake:412 (get_host_triple)
  CMakeLists.txt:689 (include)


-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/workspace/cpp.machinarium/deps/llvm-project/build/CMakeFiles/CMakeError.log".
ubuntu@ubuntu:~/workspace/cpp.machinarium/deps/llvm-project$


Посмотрел файл в котором конструкция case ... in, считаю что написано верно .
  • Вопрос задан
  • 89 просмотров
Пригласить эксперта
Ответы на вопрос 1
@AntonSazonov
Could NOT find LibXml2
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы