still can't solve 'checking for sqlite3.h... no'
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.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Eric Hodel on 14 Jun, 2010 07:57 PM
You will need to consult the sqlite3 authors for support with the sqlite3 gem.
Eric Hodel closed this discussion on 14 Jun, 2010 07:57 PM.
Andrew re-opened this discussion on 14 Jun, 2010 08:05 PM
3 Posted by Andrew on 14 Jun, 2010 08:05 PM
Are you sure?
I have sqlite3-ruby (1.2.5) installed and working correctly.
So, I assume it's all right with sqlite3 itself.
Support Staff 4 Posted by Eric Hodel on 14 Jun, 2010 08:35 PM
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.
Eric Hodel closed this discussion on 14 Jun, 2010 08:35 PM.