On 4 Aug 2008, at 14:18, Tom Cloyd wrote: > [on Kubuntu Linux 8.04.1, with Ruby 1.8.6 and latest rubygems] > > I think the installation routine was looking for sqlite3.h and > couldn't find it, but I may be way off. I'm clearly beyond my > comfort/knowledge boundary...again. Here's the first part of the > console output: > You probably need the libsqlite3-dev package. Fred > === > tomc@tomc-desktop:~/Ruby-work$ sudo gem install sqlite3-ruby > [sudo] password for tomc: > 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 install sqlite3-ruby > 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. > . > . > . > === > > I'm installing this for use with Radiant, if that matters, as > advised by http://wiki.radiantcms.org/Installation - "If you are > using a newer version of SQLite3, make sure you have the latest > version of sqlite3-ruby (1.2.1), or you will have problems with NULL > fields." > > IF it needs sqlite3.h (which I confirmed is not to be found in my > file system), where do I get it, and where do I put it? It's not in > the Adept package manager. > > Thanks for any help, which is much needed at this point. > > t. > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist > Bellingham, Washington, U.S.A: (360) 920-1226 > << tc / tomcloyd.com >> (email) > << TomCloyd.com >> (website & psychotherapy weblog) > << sleightmind.wordpress.com >> (mental health issues weblog) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >