Skip to content

Instantly share code, notes, and snippets.

@x44x45x41x4E
Created November 10, 2014 12:47
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 x44x45x41x4E/df10af47202b1b9906f2 to your computer and use it in GitHub Desktop.
Save x44x45x41x4E/df10af47202b1b9906f2 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing radiant:
ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb
checking for main() in -lc... *** 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
--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/dean/.rvm/rubies/ruby-1.9.3-p547/bin/ruby
--with-redcloth_scan-dir
--without-redcloth_scan-dir
--with-redcloth_scan-include
--without-redcloth_scan-include=${redcloth_scan-dir}/include
--with-redcloth_scan-lib
--without-redcloth_scan-lib=${redcloth_scan-dir}/lib
--with-clib
--without-clib
/Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:845:in `block in have_library'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
from /Users/dean/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/mkmf.rb:840:in `have_library'
from extconf.rb:5:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-1.9.3-p547/gems/RedCloth-4.2.9 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-1.9.3-p547/extensions/x86_64-darwin-13/1.9.1/RedCloth-4.2.9/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment