Skip to content

Instantly share code, notes, and snippets.

@tas50
Created August 8, 2016 16:52
Show Gist options
  • Save tas50/cdeec135cb3b9b16a85f51c6d3e7a4b4 to your computer and use it in GitHub Desktop.
Save tas50/cdeec135cb3b9b16a85f51c6d3e7a4b4 to your computer and use it in GitHub Desktop.
Installing dep_selector 1.0.4 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/dep_selector-1.0.4/ext/dep_gecode
/Users/tsmith/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20160808-33838-aa0l0f.rb extconf.rb
Ignoring dep-selector-libgecode-1.3.1 because its extensions are not built. Try: gem pristine dep-selector-libgecode --version 1.3.1
*** 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/tsmith/.rbenv/versions/2.3.1/bin/$(RUBY_BASE_NAME)
/Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- dep-selector-libgecode (LoadError)
from /Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from extconf.rb:27:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/dep_selector-1.0.4 for inspection.
Results logged to /Users/tsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/ruby/2.3.0-static/dep_selector-1.0.4/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment