Skip to content

Instantly share code, notes, and snippets.

@joshuarule
Created January 13, 2012 03:40
Show Gist options
  • Save joshuarule/1604539 to your computer and use it in GitHub Desktop.
Save joshuarule/1604539 to your computer and use it in GitHub Desktop.
bundle install 02
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for main() in -lstdc++... yes
checking for main() in -ltag... no
You must have taglib installed in order to use taglib-ruby.
Debian/Ubuntu: sudo apt-get install libtag1-dev
Fedora/RHEL: sudo yum install taglib-devel
Brew: brew install taglib
MacPorts: sudo port install taglib
*** 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=/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby
--with-tag-dir
--without-tag-dir
--with-tag-include
--without-tag-include=${tag-dir}/include
--with-tag-lib
--without-tag-lib=${tag-dir}/lib
--with-stdc++lib
--without-stdc++lib
--with-taglib
--without-taglib
Gem files will remain installed in /Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/taglib-ruby-0.2.1 for inspection.
Results logged to /Users/jrd02/.rvm/gems/ruby-1.9.2-p290/gems/taglib-ruby-0.2.1/ext/taglib_base/gem_make.out
An error occured while installing taglib-ruby (0.2.1), and Bundler cannot continue.
Make sure that `gem install taglib-ruby -v '0.2.1'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment