Skip to content

Instantly share code, notes, and snippets.

@cherring
Created January 14, 2016 00:45
Show Gist options
  • Save cherring/0984ab0d12a04bc0d30a to your computer and use it in GitHub Desktop.
Save cherring/0984ab0d12a04bc0d30a to your computer and use it in GitHub Desktop.
⚡ gem install eventmachine -v 1.0.7 -- --with-cppflags=-I/usr/local/opt/openssl/include
Fetching: eventmachine-1.0.7.gem (100%)
Building native extensions with: '--with-cppflags=-I/usr/local/opt/openssl/include'
This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/Users/chris/.rbenv/versions/2.2.4/bin/ruby -r ./siteconf20160114-25894-hzaoot.rb extconf.rb --with-cppflags=-I/usr/local/opt/openssl/include
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... 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_fd_select()... yes
checking for rb_fdset_t in ruby/intern.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
checking for clock_gettime()... no
checking for gethrtime()... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling binder.cpp
make: /usr/bin/g++-4.2: No such file or directory
make: *** [binder.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/chris/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.7 for inspection.
Results logged to /Users/chris/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/eventmachine-1.0.7/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment