YAML配置格式处理所需的YAML开发依赖性
我跟随流利的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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该添加Libyaml-Dev(用于Debian的发行版)或Libyaml-Devl(Centos/fedora)。
You should add the libyaml-dev (for debian based distros) or libyaml-devl (centos/fedora).