Skip to content

Installing Fluentd UI on windows (repost) #323

@jessey316

Description

@jessey316

Hi,

I have installed and setup fluentd on windows server. This is working fine but I wanted to explore the fluent UI but I am getting an error during the install following the guide

Error output:
C:\Windows\system32>fluent-gem install fluentd-ui
Fetching: tzinfo-1.2.7.gem (100%)
Successfully installed tzinfo-1.2.7
Fetching: fluent-plugin-elasticsearch-2.12.5.gem (100%)
Successfully installed fluent-plugin-elasticsearch-2.12.5
Building native extensions. This could take a while...
ERROR: Error installing fluentd-ui:
ERROR: Failed to build gem native extension.

current directory: C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/bson-4.8.2/ext/bson

C:/opt/td-agent/embedded/bin/ruby.exe -r ./siteconf20200514-5780-1y6z48y.rb extconf.rb
creating Makefile

current directory: C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/bson-4.8.2/ext/bson
make "DESTDIR=" clean
C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/make-0.3.1/bin/make:4:in <top (required)>': undefined local variable or method make' for main:Object (NameError)
from C:/opt/td-agent/embedded/bin/make:23:in load' from C:/opt/td-agent/embedded/bin/make:23:in

'

current directory: C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/bson-4.8.2/ext/bson
make "DESTDIR="
C:/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/make-0.3.1/bin/make:4:in <top (required)>': undefined local variable or method make' for main:Object (NameError)
from C:/opt/td-agent/embedded/bin/make:23:in load' from C:/opt/td-agent/embedded/bin/make:23:in

'

make failed, exit code 1

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

I found this mentioning Failed to build gem native extension and need to install development packages. So after googling some more, I found some forums that mention installing ruby_dev and install Make

Even after doing this, I still get the same error. Wondering if anyone has any ideas please?

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