Skip to content

Instantly share code, notes, and snippets.

@kapowaz
Created July 7, 2012 14:36
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/1926238111fe28f3a338 to your computer and use it in GitHub Desktop.
Save kapowaz/1926238111fe28f3a338 to your computer and use it in GitHub Desktop.
Installing eventmachine (0.12.10) with native extensions
Gem::Installer::ExtensionBuildError: 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... *** 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/bdarlow/.rbenv/versions/1.9.2-p290/bin/ruby
/Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:446:in `try_compile'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:568:in `try_var'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:816:in `block in have_var'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from /Users/bdarlow/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:815:in `have_var'
from extconf.rb:16:in `<main>'
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
An error occured while installing eventmachine (0.12.10), and Bundler cannot continue.
Make sure that `gem install eventmachine -v '0.12.10'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment