差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
softwares:fluent_bit [2024/01/18 18:31] – [Error] kobayash | softwares:fluent_bit [2024/03/15 12:38] (現在) – kobayash | ||
---|---|---|---|
行 3: | 行 3: | ||
軽量なパイプラインツール。NestDAQ において FairMQ デバイスが大量に立ち上がっているときに、標準出力のメッセージを見るのはしんどいので、これを見やすくしたいとというモチベーションがあった。Fluent Bit はロギングツールというよりパイプラインツールなので、助けになるかわからないが、プラグインによって実現されるインターフェース周りが充実しいるため、有効かもしれないということで、調査を行っている。 | 軽量なパイプラインツール。NestDAQ において FairMQ デバイスが大量に立ち上がっているときに、標準出力のメッセージを見るのはしんどいので、これを見やすくしたいとというモチベーションがあった。Fluent Bit はロギングツールというよりパイプラインツールなので、助けになるかわからないが、プラグインによって実現されるインターフェース周りが充実しいるため、有効かもしれないということで、調査を行っている。 | ||
- | ==== インストール | + | ==== Internal links ==== |
- | * Ubuntu MATE 22.04.3 LTS | + | * [[softwares: |
- | * < | + | * [[softwares: |
- | $ git clone https://github.com/ | + | |
- | $ cd fluent-bit | + | * [[softwares: |
- | $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/ | + | |
- | | + | |
- | </ | + | |
- | ==== Error ==== | ||
- | * Flex と Bison がないと cmake 時、以下のエラーになる。< | ||
- | $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/ | ||
- | -B ./build -S . | ||
- | -- The C compiler identification is GNU 11.4.0 | ||
- | < Omitted > | ||
- | -- Found Git: / | ||
- | -- Git hash: 71746b35718e856a5f8615f95f35d450a142e8cd | ||
- | -- Could NOT find FLEX (missing: FLEX_EXECUTABLE) (Required is at least version " | ||
- | -- Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at least version " | ||
- | -- Enabling FLB_REGEX since FLB_PARSER requires | ||
- | CMake Error at CMakeLists.txt: | ||
- | Record Accessor feature requires Flex and Bison in your system. | ||
- | |||
- | This is a build time dependency, you can either install the dependencies or | ||
- | disable the feature setting the CMake option -DFLB_RECORD_ACCESSOR=Off . | ||
- | |||
- | |||
- | -- Configuring incomplete, errors occurred! | ||
- | See also "/ | ||
- | </ | ||
- | * cmake時の謎のエラーメッセージ。libyaml-dev をインストールすれば良いかと思ったが、それだけではだめで、pkg-config パッケージもインストールすべし。< | ||
- | -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) | ||
- | |||
- | < | ||
- | |||
- | -- CFL found in the system. OK | ||
- | Found posix_memalign in stdlib.h -DHAVE_POSIX_MEMALIGN_IN_STDLIB -DHAVE_POSIX_MEMALIGN | ||
- | -- Plugin dirlisting enabled | ||
- | -- Plugin liana enabled [== static ==] | ||
- | -- Plugin mandril enabled | ||
- | -- LINKING monkey-liana-static; | ||
- | -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) | ||
- | -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) | ||
- | CMake Error at CMakeLists.txt: | ||
- | 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 . | ||
- | |||
- | |||
- | -- Configuring incomplete, errors occurred! | ||
- | See also "/ | ||
- | See also "/ | ||
- | </ | ||
- | * make 時エラーメッセージ。openssl のヘッダーが見つからない make 時エラーはなんか知らないけどよく見る。cmake は通るのに、make 時にエラーなるのはなんでだろう。CERN ROOT v5 をコンパイルするときも見た気がする。< | ||
- | |||
- | < | ||
- | |||
- | [ 47%] Building C object src/ | ||
- | In file included from / | ||
- | / | ||
- | 22 | #include < | ||
- | | ^~~~~~~~~~~~~~~ | ||
- | compilation terminated. | ||
- | make[2]: *** [src/ | ||
- | make[1]: *** [CMakeFiles/ | ||
- | make: *** [Makefile: | ||
- | < | ||
- | libssl-dev/ | ||
- | Secure Sockets Layer toolkit - development files | ||
- | < | ||
- | </ | ||
- | android-libboringssl-dev: | ||
- | libnode-dev: | ||
- | libssl-dev: / | ||
- | libwolfssl-dev: | ||
- | libwolfssl-dev: | ||
- | python3-pycparser: | ||
- | </ | ||