Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fatal error when installing do_sqlite3 #1488

Closed
shanemcd opened this Issue Oct 19, 2011 · 1 comment

Comments

Projects
None yet
2 participants

Trying to deploy to Heroku, when Bundler runs I get this:

Using dm-validations (1.2.0)
Using datamapper (1.2.0)
Using dm-do-adapter (1.2.0)
Installing do_sqlite3 (0.10.6) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /usr/local/bin/ruby extconf.rb checking for sqlite3.h... no *** 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=/usr/local/bin/ruby --with-sqlite3-dir --without-sqlite3-dir --with-sqlite3-include --without-sqlite3-include=${sqlite3-dir}/include --with-sqlite3-lib --without-sqlite3-lib=${sqlite3-dir}/lib Gem files will remain installed in /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/do_sqlite3-0.10.6 for inspection. Results logged to /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/do_sqlite3-0.10.6/ext/do_sqlite3/gem_make.out from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:486:inblock in build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in each' from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:inbuild_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:198:in install' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/source.rb:90:inblock in install'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:78:in preserve_paths' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/source.rb:89:ininstall'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:73:in block in install_gem_from_spec' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:93:inwith_build_args'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:72:in install_gem_from_spec' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:56:inblock in run'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:55:in run' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:12:ininstall'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/cli.rb:219:in install' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/task.rb:22:inrun'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor.rb:263:indispatch'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/base.rb:386:in start' from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/bin/bundle:13:in<top (required)>'
from vendor/bundle/ruby/1.9.1/bin/bundle:19:in load' from vendor/bundle/ruby/1.9.1/bin/bundle:19:in

'
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby app

Owner

indirect commented Oct 19, 2011

  1. Please ask heroku for help with heroku.
  2. Please read ISSUES, which has troubleshooting steps if a gem will not compile.
  3. Please read the error, which explains that you are trying to install the sqlite3 gem without the sqlite3 library installed.

Thanks!

@indirect indirect closed this Oct 19, 2011

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