fluent / fluent/fluentd-ui

Installing Fluentd UI on windows (repost)

Open
#323 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
600
Forks
73
PR merge metrics
No merged PRs in 30d

Description

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](https://docs.fluentd.org/deployment/fluentd-ui)

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 `': 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 `': 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](https://docs.fluentd.org/deployment/plugin-management) 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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.