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

Andrew's Avatar

Andrew

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:

    --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/bin/ruby 
    --with-sqlite3-dir 
    --without-sqlite3-dir 
    --with-sqlite3-include=${sqlite3-dir}/include 
    --with-sqlite3-lib 
    --without-sqlite3-lib=${sqlite3-dir}/lib

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/
do_sqlite3/gem_make.out
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

Generic

? 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

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM