You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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?
The text was updated successfully, but these errors were encountered:
jessey316
changed the title
Installing Fluentd UI on windows (moved posted)
Installing Fluentd UI on windows (repost)
May 14, 2020
At first, I don't recommend to use it on Windows, probably it's not so tested on Windows.
I’ve never tested it with td-agent 3.x or before but now I've tried it with td-agent 4.0.0.
Although td-agent 4.0.0 has a bug that it cannot build native extensions, I've succeeded to build & run fluentd-ui with a hack:
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.
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?
The text was updated successfully, but these errors were encountered: