[OSM-talk] little-osm

Jonas Svensson jonass at lysator.liu.se
Sun Aug 6 13:54:36 BST 2006


On 4 Aug 2006 at 10:31, Immanuel Scholz wrote:

> > I have installed Ruby (ruby-1.8.1-6.FC2.0), Gem ("Successfully
> 
> Do you HAVE to use ruby 1.8.1? It is quite old.. ;)

It's what I got when I did "yum install ruby". I did not bother to 
check what I got. Maybe I should.

> 
> > But then I fail at:
> >
> > # gem install sqlite3
> > Attempting local installation of 'sqlite3'
> > Local gem file not found: sqlite3*.gem
> > Attempting remote installation of 'sqlite3'
> > Updating Gem source index for: http://gems.rubyforge.org
> > ERROR:  While executing gem ... (Gem::GemNotFoundException)
> >     Could not find sqlite3 (> 0) in the repository
> 
> Ups, sorry. Use:
> 
> gem install sqlite3-ruby
> 

Unfortunatly that fails too.  :-(
It could not find headers, does that mean something is wrong with 
my ruby or is it too old?


# gem install sqlite3-ruby
Attempting local installation of 'sqlite3-ruby'
Local gem file not found: sqlite3-ruby*.gem
Attempting remote installation of 'sqlite3-ruby'
Updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i386-linux-gnu)
 1. sqlite3-ruby 1.1.0 (mswin32)
 2. sqlite3-ruby 1.1.0 (ruby)
 3. sqlite3-ruby 1.0.1 (mswin32)
 4. sqlite3-ruby 1.0.1 (ruby)
 5. sqlite3-ruby 1.0.0 (ruby)
 6. sqlite3-ruby 1.0.0 (mswin32)
 7. sqlite3-ruby 0.9.0 (mswin32)
 8. sqlite3-ruby 0.9.0 (ruby)
 9. sqlite3-ruby 0.6.0 (ruby)
 10. sqlite3-ruby 0.5.0 (ruby)
 11. Cancel installation
> 2
Building native extensions.  This could take a while...
can't find header files for ruby.
ERROR:  While executing gem ... (RuntimeError)
    ERROR: Failed to build gem native extension.
Gem files will remain installed in 
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0 for inspection.
  ruby extconf.rb install sqlite3-ruby\n

Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-
1.1.0/ext/sqlite3_api/gem_make.out





More information about the talk mailing list