still can't solve 'checking for sqlite3.h... no'

Andrew's Avatar


14 Jun, 2010 07:52 PM

running 'gem install do_sqlite3 -- "--with-sqlite3-include=/usr/
include"' from root i get the following output:
Building native extensions. This could take a while...
ERROR: Error installing do_sqlite3:

    ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb --with-sqlite3-include=/usr/include 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:


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/
do_sqlite3-0.10.2 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/do_sqlite3-0.10.2/ext/
What do I do wrong?
The 'sqlite3.h' IS in the '/usr/include' folder and has read
permissions for everyone (and for sure for root).
My English is rough, sorry.

  1. Support Staff 1 Posted by Eric Hodel on 14 Jun, 2010 07:57 PM

    Eric Hodel's Avatar

    You will need to consult the sqlite3 authors for support with the sqlite3 gem.

  2. Eric Hodel closed this discussion on 14 Jun, 2010 07:57 PM.

  3. Andrew re-opened this discussion on 14 Jun, 2010 08:05 PM

  4. 2 Posted by Andrew on 14 Jun, 2010 08:05 PM

    Andrew's Avatar

    Are you sure?
    I have sqlite3-ruby (1.2.5) installed and working correctly.
    So, I assume it's all right with sqlite3 itself.

  5. Support Staff 3 Posted by Eric Hodel on 14 Jun, 2010 08:35 PM

    Eric Hodel's Avatar

    Your output shows that this is not an error in RubyGems itself, so you'll need to talk to either the sqlite3 authors or the do_sqlite authors.

  6. Eric Hodel closed this discussion on 14 Jun, 2010 08:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac