Skip to content

Instantly share code, notes, and snippets.

@znz

znz/gem_make.out Secret

Created December 28, 2015 04:47
Show Gist options
  • Save znz/59ae1b8785a640916ce9 to your computer and use it in GitHub Desktop.
Save znz/59ae1b8785a640916ce9 to your computer and use it in GitHub Desktop.
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin14] で `gem install rabbit` に失敗
current directory: /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/gobject-introspection-3.0.7/ext/gobject-introspection
/Users/kazu/.rbenv/versions/2.3.0/bin/ruby -r ./siteconf20151228-59461-acbtdr.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... yes
checking for -Wunsafe-loop-optimizations option to compiler... no
checking for -Wwrite-strings option to compiler... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for Windows... no
checking for gobject-introspection-1.0... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/kazu/.rbenv/versions/2.3.0/bin/$(RUBY_BASE_NAME)
--enable-debug-build
--disable-debug-build
--with-pkg-config
--without-pkg-config
--with-override-variables
--without-override-variables
/Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:265:in `parse_pc': .pc for libffi doesn't exist. (RuntimeError)
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:185:in `declaration'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:199:in `collect_cflags'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:138:in `cflags'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:201:in `block in collect_cflags'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:200:in `collect'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:200:in `collect_cflags'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:138:in `cflags'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:391:in `cflags'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:442:in `have_package'
from /Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/glib2-3.0.7/lib/mkmf-gnome2.rb:618:in `required_pkg_config_package'
from extconf.rb:59:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/kazu/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/gobject-introspection-3.0.7/mkmf.log
extconf failed, exit code 1
checking for --enable-debug-build option... -------------------- no
--------------------
try_compiler_option: checking for -Wall option to compiler... -------------------- yes
"gcc -o conftest -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/kazu/.rbenv/versions/2.3.0/lib -L. -L/Users/kazu/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Waggregate-return option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wcast-align option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wextra option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wformat=2 option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Winit-self option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wlarger-than-65500 option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wmissing-declarations option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wmissing-format-attribute option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wmissing-include-dirs option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wmissing-noreturn option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wmissing-prototypes option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wnested-externs option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wold-style-definition option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wpacked option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wpointer-arith option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wswitch-default option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wswitch-enum option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wundef option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wout-of-line-declaration option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wunsafe-loop-optimizations option to compiler... -------------------- no
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Wunsafe-loop-optimizations -Werror -c conftest.c"
error: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'? [-Werror,-Wunknown-warning-option]
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
try_compiler_option: checking for -Wwrite-strings option to compiler... -------------------- yes
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Wwrite-strings -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */
--------------------
have_func: checking for rb_define_alloc_func() in ruby.h... -------------------- yes
"gcc -o conftest -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I./.gem.20151228-59461-ezfnp2 -I/Users/kazu/.rbenv/versions/2.3.0/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Wwrite-strings conftest.c -L. -L/Users/kazu/.rbenv/versions/2.3.0/lib -L. -L/Users/kazu/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc "
conftest.c:7:27: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char **argv)
^
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: printf("%p", &t);
11: }
12:
13: return 0;
14: }
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_define_alloc_func; return !p; }
/* end */
--------------------
have_func: checking for rb_block_proc() in ruby.h... -------------------- yes
"gcc -o conftest -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I./.gem.20151228-59461-ezfnp2 -I/Users/kazu/.rbenv/versions/2.3.0/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Wwrite-strings conftest.c -L. -L/Users/kazu/.rbenv/versions/2.3.0/lib -L. -L/Users/kazu/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc "
conftest.c:7:27: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char **argv)
^
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: printf("%p", &t);
11: }
12:
13: return 0;
14: }
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_block_proc; return !p; }
/* end */
--------------------
"gcc -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/kazu/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I./.gem.20151228-59461-ezfnp2 -I/Users/kazu/.rbenv/versions/2.3.0/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin14 -I/Users/kazu/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Wwrite-strings -c conftest.c"
conftest.c:4:10: fatal error: 'node.h' file not found
#include "node.h"
^
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include "ruby.h"
4: #include "node.h"
5: int node_attrasgn = (int)NODE_ATTRASGN;
/* end */
setup_windows: checking for Windows... -------------------- no
--------------------
have_package: checking for gobject-introspection-1.0... -------------------- yes
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment