Bug Report
Describe the bug
Cannot build a program with fluent bit dynamic library.
The error log:
In file included from stdout.c:22:
In file included from ../tmp/usr/local/include/fluent-bit/flb_filter.h:26:
In file included from ../tmp/usr/local/include/fluent-bit/flb_regex.h:27:
In file included from ../tmp/usr/local/include/fluent-bit/flb_compat.h:34:
../tmp/usr/local/include/monkey/mk_core.h:33:10: fatal error: 'mk_core/mk_core_info.h' file not found
#include <mk_core/mk_core_info.h>
^~~~~~~~~~~~~~~~~~~~~~~~
To Reproduce
- Steps to reproduce the problem:
Clone and set the working directory to fluent-bit.
brew install libyaml openssl bison (cmake is already installed in my env and version is 3.17.3)
cmake ..
make
make DESTDIR=pwd/../tmp install
And try to build any arbitrary filter plugin to a shared object. (I tried this with filter_stdout)
Expected behavior
Compiled successfully.
Screenshots
Your Environment
- Version used: tag: v2.0.9
- Configuration:
- Environment name and version (e.g. Kubernetes? What version?):
- Server type and version:
- Operating System and version: Mac Monterey 12.4
- Filters and plugins:
Additional context
I think configured files/libraries like the following links are not installed.
|
configure_file( |
|
"${CMAKE_CURRENT_SOURCE_DIR}/../include/monkey/mk_core/mk_core_info.h.in" |
|
"${PROJECT_BINARY_DIR}/include/monkey/mk_core/mk_core_info.h" |
|
) |
- cmetrics
- cfl
- ...
Bug Report
Describe the bug
Cannot build a program with fluent bit dynamic library.
The error log:
To Reproduce
Clone and set the working directory to fluent-bit.
brew install libyaml openssl bison(cmake is already installed in my env and version is 3.17.3)cmake ..makemake DESTDIR=pwd/../tmpinstallAnd try to build any arbitrary filter plugin to a shared object. (I tried this with filter_stdout)
Expected behavior
Compiled successfully.
Screenshots
Your Environment
Additional context
I think configured files/libraries like the following links are not installed.
fluent-bit/lib/monkey/mk_core/CMakeLists.txt
Lines 146 to 149 in eb70ee7