Can't manage to install do_squlite3 with gem

Hi all !

First, I’m a big newbie on ruby and that stuff so maybe my question is
really cloddish. So, I’m trying to install do_squlite3 with the command
" gem install do_sqlite3 -v ‘0.10.13’" it doesn’t work and I don’t know
how to fix it.

See :

[root@localhost beef-beef-0.4.4.6.1]# gem install do_sqlite3 -v
‘0.10.13’
Building native extensions. This could take a while…
ERROR: Error installing do_sqlite3:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.0.0-p247/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/rvm/rubies/ruby-2.0.0-p247/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}/

Gem files will remain installed in
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/do_sqlite3-0.10.13 for
inspection.
Results logged to
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/do_sqlite3-0.10.13/ext/do_sqlite3/gem_make.out

I’m on fedora 18. Help me please D:

Am 06.07.2013 02:04, schrieb jab jabono:

Hi all !

First, I’m a big newbie on ruby and that stuff so maybe my question is
really cloddish. So, I’m trying to install do_squlite3 with the command
" gem install do_sqlite3 -v ‘0.10.13’" it doesn’t work and I don’t know
how to fix it.
[…]
Building native extensions. This could take a while…
ERROR: Error installing do_sqlite3:
ERROR: Failed to build gem native extension.

 /usr/local/rvm/rubies/ruby-2.0.0-p247/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.

Is sqlite installed on your system?
You should also need an sqlite dev / devel package to be able
to build the native extensions, maybe called ‘sqlite-devel’.
I’m not sure, though, since I’m not using Fedora myself.

Hope this helps,
Marcus