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

Error installing fluent-plugin-webhdfs #66

Closed
allenhaozi opened this issue Apr 26, 2018 · 3 comments
Closed

Error installing fluent-plugin-webhdfs #66

allenhaozi opened this issue Apr 26, 2018 · 3 comments

Comments

@allenhaozi
Copy link

root@e100069201209:/fluentd# fluent-gem install fluent-plugin-webhdfs -v 1.2.3
Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-webhdfs:
ERROR: Failed to build gem native extension.

current directory: /fluentd/vendor/bundle/ruby/2.3.0/gems/strptime-0.2.3/ext/strptime

/usr/bin/ruby2.3 -r ./siteconf20180426-316-14zhkeg.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /fluentd/vendor/bundle/ruby/2.3.0/gems/strptime-0.2.3 for inspection.
Results logged to /fluentd/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/strptime-0.2.3/gem_make.out

@repeatedly
Copy link
Member

@allenhaozi
Copy link
Author

how to know which development packages to build ?

@allenhaozi
Copy link
Author

fix this problem by
rebuild docker
append "fluent-plugin-webhdfs" to this file fluentd-kubernetes-daemonset/docker-image/v0.12/debian-elasticsearch/Gemfile

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