Skip to content

Instantly share code, notes, and snippets.

@chintanparikh
Created September 21, 2013 08:48
Show Gist options
  • Save chintanparikh/6648693 to your computer and use it in GitHub Desktop.
Save chintanparikh/6648693 to your computer and use it in GitHub Desktop.
± gem install eventmachine
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... 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. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -I. -DWITH_SSL -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_TBR -DHAVE_INOTIFY_INIT -DHAVE_INOTIFY -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_ENABLE_INTERRUPT -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -c binder.cpp
In file included from binder.cpp:20:
project.h:121:25: error: sys/inotify.h: No such file or directory
In file included from project.h:150,
from binder.cpp:20:
em.h:28:25: error: ruby/io.h: No such file or directory
In file included from binder.cpp:20:
project.h:121:25: error: sys/inotify.h: No such file or directory
In file included from project.h:150,
from binder.cpp:20:
em.h:28:25: error: ruby/io.h: No such file or directory
lipo: can't open input file: /var/folders/zm/9gf3lrw1227fr3xlb6srzwdc0000gn/T//ccg1PgU6.out (No such file or directory)
make: *** [binder.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment