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

bundle install failure on OS X #8

Open
Xanthos-Code opened this issue Feb 18, 2016 · 1 comment
Open

bundle install failure on OS X #8

Xanthos-Code opened this issue Feb 18, 2016 · 1 comment

Comments

@Xanthos-Code
Copy link

ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
OSX 10.11.3

Let me know what else you need.

make "DESTDIR=" clean

make "DESTDIR="
compiling glib-enum-types.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'? [-Wunknown-warning-option]
In file included from glib-enum-types.c:4:
./glib-enum-types.h:49:9: warning: 'G_TYPE_IO_CONDITION' macro redefined [-Wmacro-redefined]

define G_TYPE_IO_CONDITION (g_io_condition_get_type())

    ^

/usr/local/Cellar/glib/2.46.2/include/glib-2.0/gobject/glib-types.h:190:9: note: previous definition is here

define G_TYPE_IO_CONDITION (g_io_condition_get_type ())

    ^

glib-enum-types.c:1202:9: error: use of undeclared identifier 'G_WIN32_OS_ANY'
{ G_WIN32_OS_ANY, "G_WIN32_OS_ANY", "any" },
^
glib-enum-types.c:1203:9: error: use of undeclared identifier 'G_WIN32_OS_WORKSTATION'
{ G_WIN32_OS_WORKSTATION, "G_WIN32_OS_WORKSTATION", "workstation" },
^
glib-enum-types.c:1204:9: error: use of undeclared identifier 'G_WIN32_OS_SERVER'
{ G_WIN32_OS_SERVER, "G_WIN32_OS_SERVER", "server" },
^
2 warnings and 3 errors generated.
make: *** [glib-enum-types.o] Error 1

make failed, exit code 2

Gem files will remain installed in /tmp/bundler20160218-10807-1arpjigglib2-1.2.6/gems/glib2-1.2.6 for inspection.
Results logged to /tmp/bundler20160218-10807-1arpjigglib2-1.2.6/extensions/x86_64-darwin-15/2.2.0/glib2-1.2.6/gem_make.out
Using cairo 1.12.4
An error occurred while installing libxml-ruby (2.6.0), and Bundler cannot continue.
Make sure that gem install libxml-ruby -v '2.6.0' succeeds before bundling.

@Xanthos-Code
Copy link
Author

Downgraded to ruby 2.0 and getting this:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/Users/mark/.rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20160218-17825-1sh5j8g.rb extconf.rb

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 -Wunsafe-loop-optimizations option to compiler... yes
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 Win32 OS... no
checking for gobject-2.0... yes
checking for gthread-2.0... yes
checking for unistd.h... yes
checking for io.h... no
checking for g_spawn_close_pid() in glib.h... yes
checking for g_thread_init() in glib.h... yes
checking for g_main_depth() in glib.h... yes
checking for g_listenv() in glib.h... yes
checking for rb_check_array_type() in ruby.h... yes
checking for rb_exec_recursive() in ruby.h... yes
checking for rb_errinfo() in ruby.h... yes
checking for rb_sourcefile() in ruby.h... yes
checking for rb_sourceline() in ruby.h... yes
checking for ruby_set_current_source() in ruby.h... no
checking for rb_thread_blocking_region() in ruby.h... yes
checking for ruby_native_thread_p() in ruby.h... yes
checking for rb_thread_call_with_gvl() in ruby.h... yes
checking for rb_str_new_cstr() in ruby.h... yes
checking for rb_gc_register_mark_object() in ruby.h... yes
checking for curr_thread in ruby.h,node.h... no
checking for rb_curr_thread in ruby.h,node.h... no
creating ruby-glib2.pc
creating glib-enum-types.c
creating glib-enum-types.h
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling glib-enum-types.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'? [-Wunknown-warning-option]
In file included from glib-enum-types.c:4:
./glib-enum-types.h:49:9: warning: 'G_TYPE_IO_CONDITION' macro redefined [-Wmacro-redefined]
#define G_TYPE_IO_CONDITION (g_io_condition_get_type())
^
/usr/local/Cellar/glib/2.46.2/include/glib-2.0/gobject/glib-types.h:190:9: note: previous definition is here
#define G_TYPE_IO_CONDITION (g_io_condition_get_type ())
^
glib-enum-types.c:1202:9: error: use of undeclared identifier 'G_WIN32_OS_ANY'
{ G_WIN32_OS_ANY, "G_WIN32_OS_ANY", "any" },
^
glib-enum-types.c:1203:9: error: use of undeclared identifier 'G_WIN32_OS_WORKSTATION'
{ G_WIN32_OS_WORKSTATION, "G_WIN32_OS_WORKSTATION", "workstation" },
^
glib-enum-types.c:1204:9: error: use of undeclared identifier 'G_WIN32_OS_SERVER'
{ G_WIN32_OS_SERVER, "G_WIN32_OS_SERVER", "server" },
^
2 warnings and 3 errors generated.
make: *** [glib-enum-types.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/mark/.rvm/gems/ruby-2.0.0-p643@rubypi/gems/glib2-1.2.6 for inspection.
Results logged to /Users/mark/.rvm/gems/ruby-2.0.0-p643@rubypi/extensions/x86_64-darwin-14/2.0.0-static/glib2-1.2.6/gem_make.out
Installing cairo 1.12.4 with native extensions
Installing faster_xml_simple 0.5.0
An error occurred while installing glib2 (1.2.6), and Bundler cannot continue.
Make sure that gem install glib2 -v '1.2.6' succeeds before bundling.

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

1 participant