Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing fluent-plugin-mongo #180

Open
bloodymerry opened this issue Apr 4, 2023 · 1 comment
Open

Error installing fluent-plugin-mongo #180

bloodymerry opened this issue Apr 4, 2023 · 1 comment

Comments

@bloodymerry
Copy link

bloodymerry commented Apr 4, 2023

Hello guys,
I was installed MSYS2 and fluentd sucessfully (in windows OS)
but this error was occured when i was installing fluent-plugin-mongo

It works in old version.
ridk exec td-agent-gem install fluent-plugin-mongo -v 0.7.11

command result

C:\opt\td-agent\bin>ridk exec td-agent-gem install fluent-plugin-mongo -v 0.7.11
Fetching fluent-plugin-mongo-0.7.11.gem
Successfully installed fluent-plugin-mongo-0.7.11
Parsing documentation for fluent-plugin-mongo-0.7.11
Done installing documentation for fluent-plugin-mongo after 0 seconds
1 gem installed

but newer versions and latest version doesn't works.

and I already checked the link below.
#162
#103

Here is my executed command log

C:\opt\td-agent\bin>ridk exec td-agent-gem install fluent-plugin-mongo
Fetching bson-4.15.0.gem
Fetching mongo-2.18.2.gem
Fetching fluent-plugin-mongo-1.6.0.gem
Building native extensions. This could take a while...
ERROR:  Error installing fluent-plugin-mongo:
        ERROR: Failed to build gem native extension.

    current directory: C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/bson-4.15.0/ext/bson
C:/opt/td-agent/bin/ruby.exe -I C:/opt/td-agent/lib/ruby/2.7.0 -r ./siteconf20230404-6408-16p8ydc.rb extconf.rb
creating Makefile

current directory: C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/bson-4.15.0/ext/bson
make "DESTDIR=" clean
current directory: C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/bson-4.15.0/ext/bson
make "DESTDIR="
make failedNo such file or directory - make "DESTDIR="

Gem files will remain installed in C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/bson-4.15.0 for inspection.
Results logged to C:/opt/td-agent/lib/ruby/gems/2.7.0/extensions/x64-mingw32/2.7.0/bson-4.15.0/gem_make.out

Plaese help me
Thank you.

@cedrata
Copy link

cedrata commented Aug 22, 2024

I have the same error installing the plugins using kubernetes, anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants