I'm having the same issue, I was told to try this command:  yum install ruby
-devel sqlite sqlite-devel ruby-rdoc 

I get the following: 

Error: Package: ruby-devel-2.0.0.648-30.el7.x86_64 (base) 
           Requires: ruby(x86-64) = 2.0.0.648-30.el7 
           Installed: ruby-2.2.3-1.el7.centos.x86_64 (installed) ruby(x86-64
) = 2.2.3-1.el7.centos 
           Available: ruby-2.0.0.648-30.el7.x86_64 (base) ruby(x86-64) = 2.0
.0.648-30.el7 
 You could try using --skip-broken to work around the problem 
 You could try running: rpm -Va --nofiles --nodigest

On Wednesday, September 22, 2010 at 3:11:28 PM UTC-4, Derek wrote:

> I have installed 2 extra version of sqlite just to be sure: 
> /usr/local/sqlite3.6.16 
> /usr/local/sqlite3.6.23.1 
>
> Now I try to install sqlite-ruby as follows: 
>
> [root@dev sqlite3-ruby-1.3.1]# gem install sqlite3-ruby -- --with- 
> sqlite3-include=/usr/local/sqlite3.6.16/include --with-sqlite3-lib=/ 
> usr/local/sqlite3.6.16/lib 
> Building native extensions.  This could take a while... 
> ERROR:  Error installing sqlite3-ruby: 
>         ERROR: Failed to build gem native extension. 
>
> /usr/local/bin/ruby extconf.rb --with-sqlite3-include=/usr/local/ 
> sqlite3.6.16/include --with-sqlite3-lib=/usr/local/sqlite3.6.16/lib 
> checking for sqlite3.h... yes 
> checking for sqlite3_libversion_number() in -lsqlite3... no 
> sqlite3 is missing. Try 'port install sqlite3 +universal' or 'yum 
> install sqlite3-devel' 
> *** 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/bin/ruby 
>         --with-sqlite3-dir 
>         --without-sqlite3-dir 
>         --with-sqlite3-include=${sqlite3-dir}/include 
>         --with-sqlite3-lib=${sqlite3-dir}/lib 
>         --with-sqlite3lib 
>         --without-sqlite3lib 
>
>
> Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/ 
> sqlite3-ruby-1.3.1 for inspection. 
> Results logged to /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.3.1/ 
> ext/sqlite3/gem_make.out 
>
> Could someone please help me to get this in? I can't upgrade sqlite 
> directly as this will break yum on Centos

-- 
You received this message because you are subscribed to the Google Groups 
"sqlite3-ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to