Skip to content

Instantly share code, notes, and snippets.

@higebu
Created October 3, 2014 09:01
Show Gist options
  • Save higebu/ccd35b3ba49b04ae37a6 to your computer and use it in GitHub Desktop.
Save higebu/ccd35b3ba49b04ae37a6 to your computer and use it in GitHub Desktop.
/usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-elasticsearch error
# /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-elasticsearch
Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-elasticsearch:
ERROR: Failed to build gem native extension.
/usr/lib64/fluent/ruby/bin/ruby extconf.rb
checking for curl-config... yes
checking for rb_thread_blocking_region()... yes
creating Makefile
make
compiling membuffer.c
In file included from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby.h:32,
from membuffer.c:1:
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:107: 警告: ISO C90 does not support ‘long long’
In file included from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby.h:32,
from membuffer.c:1:
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:236: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:238: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:543: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:544: 警告: ISO C90 does not support ‘long long’
In file included from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:1383,
from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby.h:32,
from membuffer.c:1:
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:120: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:121: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:122: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:123: 警告: ISO C90 does not support ‘long long’
compiling session_ext.c
In file included from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby.h:32,
from session_ext.c:25:
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:107: 警告: ISO C90 does not support ‘long long’
In file included from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby.h:32,
from session_ext.c:25:
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:236: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:238: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:543: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:544: 警告: ISO C90 does not support ‘long long’
In file included from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/ruby.h:1383,
from /usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby.h:32,
from session_ext.c:25:
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:120: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:121: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:122: 警告: ISO C90 does not support ‘long long’
/usr/lib64/fluent/ruby/include/ruby-1.9.1/ruby/intern.h:123: 警告: ISO C90 does not support ‘long long’
session_ext.c: In function ‘Init_session_ext’:
session_ext.c:727: error: ‘CURLPROXY_HTTP_1_0’ undeclared (first use in this function)
session_ext.c:727: error: (Each undeclared identifier is reported only once
session_ext.c:727: error: for each function it appears in.)
session_ext.c:730: error: ‘CURLPROXY_SOCKS4A’ undeclared (first use in this function)
session_ext.c:731: error: ‘CURLPROXY_SOCKS5_HOSTNAME’ undeclared (first use in this function)
make: *** [session_ext.o] エラー 1
Gem files will remain installed in /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/patron-0.4.18 for inspection.
Results logged to /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/patron-0.4.18/ext/patron/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment