Mohit Sindhwani wrote: > Derek Smith wrote: >> $ gem install sqlite3-ruby >> Building native extensions. This could take a while... >> ERROR: Error installing sqlite3-ruby: >> ERROR: Failed to build gem native extension. >> >> /usr/bin/ruby extconf.rb >> checking for fdatasync() in -lrt... yes >> checking for sqlite3.h... no >> > You need to install the development set for SQLite3 since the gem has a > native build. From: > http://theplana.wordpress.com/2007/05/11/install-sqlite3-on-ubuntu/ > > you need to do the equivalent of the below step: > > * Install Sqlite3 > sudo apt-get install sqlite3 libsqlite3-dev > sudo gem install sqlite3-ruby > > I'm sorry I'm a limited Linux user (and mostly use Ubuntu there). > > Cheers > Mohit.
The solution was on SLED 11. Thank you for pointing me in the right direction! linux-7lbv:/home/derek/Desktop # rpm -i sqlite3-devel-3.6.4-1.8.i586.rpm linux-7lbv:/home/derek/Desktop # gem install sqlite3-ruby Building native extensions. This could take a while... Successfully installed sqlite3-ruby-1.2.4 1 gem installed Installing ri documentation for sqlite3-ruby-1.2.4... Installing RDoc documentation for sqlite3-ruby-1.2.4... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

