gem install bson_ext fails on Mountain Lion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
2.3 KiB

  1. $ gem install bson_ext
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing bson_ext:
  4. ERROR: Failed to build gem native extension.
  5. /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
  6. checking for asprintf()... *** extconf.rb failed ***
  7. Could not create Makefile due to some reason, probably lack of
  8. necessary libraries and/or headers. Check the mkmf.log file for more
  9. details. You may need configuration options.
  10. Provided configuration options:
  11. --with-opt-dir
  12. --without-opt-dir
  13. --with-opt-include
  14. --without-opt-include=${opt-dir}/include
  15. --with-opt-lib
  16. --without-opt-lib=${opt-dir}/lib
  17. --with-make-prog
  18. --without-make-prog
  19. --srcdir=.
  20. --curdir
  21. --ruby=/Users/adrian/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
  22. /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
  23. You have to install development tools first.
  24. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
  25. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:440:in `try_link'
  26. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:552:in `try_func'
  27. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:797:in `block in have_func'
  28. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for'
  29. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone'
  30. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:254:in `open'
  31. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone'
  32. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:254:in `open'
  33. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
  34. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
  35. from /Users/adrian/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:796:in `have_func'
  36. from extconf.rb:3:in `<main>'
  37. Gem files will remain installed in /Users/adrian/.rvm/gems/ruby-1.9.2-p290@pluto/gems/bson_ext-1.6.4 for inspection.
  38. Results logged to /Users/adrian/.rvm/gems/ruby-1.9.2-p290@pluto/gems/bson_ext-1.6.4/ext/cbson/gem_make.out