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:
>
> ===
> 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.
>
Well, drat. While poking around a blog post about the Junebug wiki,
relevant because it's installed on the Radiantcms.org website (which
presumably is running Radiant (!) - and that confuses me - I found this:
"make sure you have the libsqlite3-dev package installed on
(ubuntu|debian), or the sqlite gem won't compile"
I love secret knowledge, but only when I'm in on the secret. I simply
cannot imagine how I might have know this in advance.
In any case, THAT IS in the adept package manager, and installing solved
the problem.
On to the next one.
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)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~