Derek Smith wrote:
Hi all,
I have been reading and trying all the google links/forums for 2 nights now on how to fix my issue with getting sqlite3 installed so I can use rails. Im running SLED 11. plese help! thank you!
$ uname -a Linux linux-7lbv 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux
$ 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:
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.