From: Jamis Buck <jgb3 / email.byu.edu>
Subject: [ANN] SQLite-Ruby 1.3.0
Date: Mon, 12 Jul 2004 06:00:23 +0900

Hi, 

 I tried to install with 

   sudo ruby install.rb

 which works properly with previous versions (including 1.2.9.1)
 and got

    cp ext/extconf.rb ext/sqlite.c build
    cp -r lib build
    cd build
    checking for main() in -lsqlite... no
    checking for sqlite.h... no
    make: *** No targets specified and no makefile found.  Stop.
    could not build sqlite module
 
 but ls /usr/lib/libsqlite* gives me:

    [sqlite-ruby-1.3.0/] :ls /usr/lib/libsqlite*
    /usr/lib/libsqlite-2.8.13.so.0      /usr/lib/libsqlite.so.0.8.6
    /usr/lib/libsqlite-2.8.13.so.0.8.6  /usr/lib/libsqlite3.la
    /usr/lib/libsqlite.la               /usr/lib/libsqlite3.so
    /usr/lib/libsqlite.so               /usr/lib/libsqlite3.so.0
    /usr/lib/libsqlite.so.0             /usr/lib/libsqlite3.so.0.8.6

 and ls /usr/include/sqlite*

    [sqlite-ruby-1.3.0/] :ls /usr/include/sqlite*
    /usr/include/sqlite.h  /usr/include/sqlite3.h

 so it /seems/ that everything need is installed, but sqlite-ruby does
 not find it. What wnet wrong here ?

 Kind regards,
 Meino Cramer

> Looks like there were no problems found in the SQLite-Ruby release 
> candidate (1.2.9.1)--or at least, no one reported any. ;) Thus, I'm 
> proud to announce the release of SQLite-Ruby 1.3.0.
> 
> SQLite-Ruby is a Ruby module for interfacing with SQLite 
> (http://www.sqlite.org) databases).
> 
> Version 1.3.0 does not add any new functionality beyond what already 
> existed in the release candidate (1.2.9.1). Thus, if you have 1.2.9.1 
> installed, there is no compelling reason to upgrade.
> 
> New features in 1.3.0 (and 1.2.9.1):
> 
> - The explicit dependency on 'arrayfields' was removed. Now, instead, 
> you can specify that rows be returned as arrays instead of hashes, and 
> then you can require 'arrayfields' explicitly to have the same behavior 
> as existed in 1.2.x.
> 
> - Exception classes now exist for all major error codes in the SQLite API.
> 
> - 'quote', 'decode', and 'encode' were added as class methods of 
> SQLite::Database. 'quote' will escape necessary characters in a string 
> (like a single quote). 'decode' and 'encode' are for safely serializing 
> and unserializing objects for storage in a SQLite database.
> 
> Enjoy! Feel free to submit feature requests if you feel the library is 
> lacking functionality you would find useful.
> 
> -- 
> Jamis Buck
> jgb3 / email.byu.edu
> http://www.jamisbuck.org/jamis
> 
> "I use octal until I get to 8, and then I switch to decimal."
>