Error installing fluent-plugin-webhdfs
allenhaozi opened this issue · 3 comments
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
how to know which development packages to build ?
fix this problem by
rebuild docker
append "fluent-plugin-webhdfs" to this file fluentd-kubernetes-daemonset/docker-image/v0.12/debian-elasticsearch/Gemfile