YAML配置格式处理所需的YAML开发依赖性

发布于 2025-02-10 06:47:14 字数 579 浏览 0 评论 0原文

我跟随流利的bit https:///dtps://docs.fluentbit.io/手册/安装/源/构建和安装文档。但是当Cmake时,它显示下面的日志。我知道我可以禁用YAML功能。如果我不禁用,我该怎么做才能添加“ YAML开发依赖性”?

CMake Error at CMakeLists.txt:678 (message):
  YAML development dependencies required for YAML configuration format
  handling.

  This is a build time dependency, you can either install the dependencies or
  disable the feature setting the CMake option -DFLB_CONFIG_YAML=Off .

I follow the fluent-bit https://docs.fluentbit.io/manual/installation/sources/build-and-install documentation. But when cmake, It show the log below.I know I can just disable the yaml feature. If I do not disable, what should I do to add the "YAML development dependencies"?

CMake Error at CMakeLists.txt:678 (message):
  YAML development dependencies required for YAML configuration format
  handling.

  This is a build time dependency, you can either install the dependencies or
  disable the feature setting the CMake option -DFLB_CONFIG_YAML=Off .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

萌逼全场 2025-02-17 06:47:14

您应该添加Libyaml-Dev(用于Debian的发行版)或Libyaml-Devl(Centos/fedora)。

# centos family:
yum install -y libyaml-devel

# debian family:
apt-get install -y libyaml-dev

You should add the libyaml-dev (for debian based distros) or libyaml-devl (centos/fedora).

# centos family:
yum install -y libyaml-devel

# debian family:
apt-get install -y libyaml-dev
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文