Thanks! When I follow the instructions from the book I get the following results.
Code:
rick@odin:/usr/lib/ruby/1.8/rubygems$ sudo ruby setup.rb
---> ext
<--- ext
---> ext
<--- ext
rm -f InstalledFiles
---> ext
<--- ext
Now, I am still having a problem installing the SQLite ruby interface. Here is a dump of my terminal showing the versions of everything else that installed okand the attempt to install squlite3-ruby.
Code:
rick@odin:/usr/lib/ruby/1.8/rubygems$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
rick@odin:/usr/lib/ruby/1.8/rubygems$ gem -v
1.3.5
rick@odin:/usr/lib/ruby/1.8/rubygems$ rails -v
Rails 2.3.4
rick@odin:/usr/lib/ruby/1.8/rubygems$ sqlite3 --version
3.6.16
rick@odin:/usr/lib/ruby/1.8/rubygems$ sudo 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/ruby1.8 extconf.rb
checking for fdatasync() in -lrt... yes
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/bin/ruby1.8
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
--with-rtlib
--without-rtlib
Gem files will remain installed in /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.5 for inspection.
Results logged to /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.5/ext/sqlite3_api/gem_make.out
Any iodeas of wehat I am doing wrong. Btw, this is on AMD 64-bit Kubuntu 9.10. Thanks in advance for any help you can give.
Bookmarks