Skip to content

Error installing fluent-plugin-mongo #180

@bloodymerry

Description

@bloodymerry

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions