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

Installing Fluentd UI on windows (repost) #323

Open
jessey316 opened this issue May 14, 2020 · 3 comments
Open

Installing Fluentd UI on windows (repost) #323

jessey316 opened this issue May 14, 2020 · 3 comments

Comments

@jessey316
Copy link

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?

@jessey316 jessey316 changed the title Installing Fluentd UI on windows (moved posted) Installing Fluentd UI on windows (repost) May 14, 2020
@ashie
Copy link
Member

ashie commented Jul 27, 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:

fluent/fluent-package-builder#129 (comment)

Steps to install & launch:

@ashie
Copy link
Member

ashie commented Jul 27, 2020

2020-07-27

@jessey316
Copy link
Author

Hi ashie,

Thanks for getting back to me on this. This is interesting to see and I will definitely give it a try and let you know how it goes

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