Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mariusbutuc/15415d83a7ccf0c01b7b921a69266d04 to your computer and use it in GitHub Desktop.
Save mariusbutuc/15415d83a7ccf0c01b7b921a69266d04 to your computer and use it in GitHub Desktop.
┃ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
┃ /usr/local/Cellar/shopify-ruby/2.2.3-shopify_2/bin/ruby -r ./siteconf20160823-27222-1ml83gd.rb extconf.rb
┃ checking for libgda/sql-parser/gda-sql-parser.h... no
┃ libgda is missing. Try 'brew install libgda'
┃ *** 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/Cellar/shopify-ruby/2.2.3-shopify_2/bin/$(RUBY_BASE_NAME)
┃ --with-libgda-dir
┃ --without-libgda-dir
┃ --with-libgda-include
┃ --without-libgda-include=${libgda-dir}/include
┃ --with-libgda-lib
┃ --without-libgda-lib=${libgda-dir}/lib
┃ --with-libgda-5.0-config
┃ --without-libgda-5.0-config
┃ --with-pkg-config
┃ --without-pkg-config
┃ extconf failed, exit code 1
┃ Gem files will remain installed in /Users/mariusbutuc/src/github.com/Shopify/shopify/vendor/bundle/gems/gda-1.0.1 for inspection.
┃ Results logged to /Users/mariusbutuc/src/github.com/Shopify/shopify/vendor/bundle/extensions/x86_64-darwin-15/2.2.0/gda-1.0.1/gem_make.out
shopify (master) $ brew install libgda
Warning: libgda-5.2.4_1 already installed
@mariusbutuc
Copy link
Author

@JackTLi:

I had the libgda issue yesterday, solved it by cd ~ and running brew upgrade there.
Everything dev upped perfectly after that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment