Skip to content

Instantly share code, notes, and snippets.

@kapowaz
Created July 7, 2012 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kapowaz/3a709bb190d5f9abd4b6 to your computer and use it in GitHub Desktop.
Save kapowaz/3a709bb190d5f9abd4b6 to your computer and use it in GitHub Desktop.
bdarlow@panthro:~$ gem install eventmachine -v '0.12.10'
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/Users/bdarlow/.rbenv/versions/1.9.2-p290/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
creating Makefile
make
g++ -I. -I/Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/i386-darwin10.8.0 -I/Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1 -I. -DBUILD_FOR_RUBY -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_TBR -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_THREAD_CHECK_INTS -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -DWITH_SSL -I'/Users/bdarlow/.rbenv/versions/1.9.2-p290/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe -o binder.o -c binder.cpp
In file included from /Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby.h:32,
from em.h:34,
from project.h:138,
from binder.cpp:20:
/Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/ruby.h:108: error: size of array ‘ruby_check_sizeof_long’ is negative
/Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/ruby.h:112: error: size of array ‘ruby_check_sizeof_voidp’ is negative
In file included from /Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/intern.h:29,
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/ruby.h:1327,
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby.h:32,
from em.h:34,
from project.h:138,
from binder.cpp:20:
/Users/bdarlow/.rbenv/versions/1.9.2-p290/include/ruby-1.9.1/ruby/st.h:69: error: size of array ‘st_check_for_sizeof_st_index_t’ is negative
In file included from project.h:141,
from binder.cpp:20:
ed.h: In member function ‘virtual float EventableDescriptor::GetCommInactivityTimeout()’:
ed.h:78: warning: implicit conversion shortens 64-bit value into a 32-bit value
binder.cpp: In static member function ‘static long unsigned int Bindable_t::CreateBinding()’:
binder.cpp:36: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement
make: *** [binder.o] Error 1
Gem files will remain installed in /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10 for inspection.
Results logged to /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment