Created
February 27, 2011 14:13
-
-
Save mrbrdo/846202 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Sites/testapp > rvm gem install sqlite3-ruby | |
Building native extensions. This could take a while... | |
/bin/sh: line 1: 2487 Abort trap /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/bin/macruby extconf.rb 2>&1 | |
ERROR: Error installing sqlite3-ruby: | |
ERROR: Failed to build gem native extension. | |
/Library/Frameworks/MacRuby.framework/Versions/0.9/usr/bin/macruby extconf.rb | |
checking for sqlite3.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=/Library/Frameworks/MacRuby.framework/Versions/0.9/usr/bin/macruby | |
--with-sqlite3-dir | |
--without-sqlite3-dir | |
--with-sqlite3-include | |
--without-sqlite3-include=${sqlite3-dir}/include | |
--with-sqlite3-lib | |
--without-sqlite3-lib=${sqlite3-dir}/lib | |
/Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:365:in `try_do:': The complier failed to generate an executable file. | |
You have to install development tools first. | |
(RuntimeError) | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:452:in `try_header:' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:853:in `block' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:693:in `block' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:280:in `block' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:254:in `open' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:280:in `block' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:254:in `open' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:276:in `postpone' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:692:in `checking_for:' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/mkmf.rb:852:in `find_header:' | |
from /Users/apple/.rvm/gems/macruby-0.9/gems/sqlite3-1.3.3/ext/sqlite3/extconf.rb:28:in `<main>' | |
Gem files will remain installed in /Users/apple/.rvm/gems/macruby-0.9/gems/sqlite3-1.3.3 for inspection. | |
Results logged to /Users/apple/.rvm/gems/macruby-0.9/gems/sqlite3-1.3.3/ext/sqlite3/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment