tag:help.rubygems.org,2010-01-19:/discussions/problems/190-still-cant-solve-checking-for-sqlite3h-noRubyGems.org: Discussion 2011-04-07T20:59:28Ztag:help.rubygems.org,2010-01-19:Comment/19583322010-06-14T19:52:23Z2010-06-14T19:52:26Zstill can't solve 'checking for sqlite3.h... no'<div><p>running 'gem install do_sqlite3 --
"--with-sqlite3-include=/usr/<br>
include"' from root i get the following output:<br>
Building native extensions. This could take a while...<br>
ERROR: Error installing do_sqlite3:<br></p>
<pre>
<code> ERROR: Failed to build gem native extension.</code>
</pre>
<p>/usr/bin/ruby extconf.rb --with-sqlite3-include=/usr/include
checking for sqlite3.h... no<br>
<strong><em>extconf.rb failed</em></strong> Could not create
Makefile due to some reason, probably lack of<br>
necessary libraries and/or headers. Check the mkmf.log file for
more<br>
details. You may need configuration options.<br>
Provided configuration options:<br></p>
<pre>
<code> --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</code>
</pre>
<p>Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/<br>
do_sqlite3-0.10.2 for inspection.<br>
Results logged to
/usr/lib/ruby/gems/1.8/gems/do_sqlite3-0.10.2/ext/<br>
do_sqlite3/gem_make.out<br>
What do I do wrong?<br>
The 'sqlite3.h' IS in the '/usr/include' folder and has read<br>
permissions for everyone (and for sure for root).<br>
My English is rough, sorry.</p></div>Andrewtag:help.rubygems.org,2010-01-19:Comment/19583322010-06-14T19:57:01Z2010-06-14T19:57:01Zstill can't solve 'checking for sqlite3.h... no'<div><p>You will need to consult the sqlite3 authors for support with
the sqlite3 gem.</p></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/19583322010-06-14T20:05:59Z2010-06-14T20:06:02Zstill can't solve 'checking for sqlite3.h... no'<div><p>Are you sure?<br>
I have sqlite3-ruby (1.2.5) installed and working correctly.<br>
So, I assume it's all right with sqlite3 itself.</p></div>Andrewtag:help.rubygems.org,2010-01-19:Comment/19583322010-06-14T20:35:18Z2010-06-14T20:35:18Zstill can't solve 'checking for sqlite3.h... no'<div><p>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.</p></div>Eric Hodel