繁体   English   中英

mac 的 Clickhouse 安装失败:“不支持 AppleClang,您应该从 brew 安装 clang。”

[英]Clickhouse installation for mac fails: "AppleClang is not supported, you should install clang from brew."

我正在遵循此说明 当我运行以下命令时

cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang`

我有这个错误:

CMake Error at cmake/tools.cmake:20 (message):
  AppleClang is not supported, you should install clang from brew.
Call Stack (most recent call first):
  CMakeLists.txt:44 (include)


-- Configuring incomplete, errors occurred!
See also "/Users/myuser/ClickHouse/build/CMakeFiles/CMakeOutput.log".

关于发生了什么的任何想法?

Apple clang 版本 12.0.0 (clang-1200.0.32.21)

cmake 版本 3.18.4

macOS Catalina 10.15.7

谢谢!

我再次安装了 clang 并且它起作用了。 按照这个https://embeddedartistry.com/blog/2017/02/24/installing-llvm-clang-on-osx/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM