On Sep 23, 2010, at 1:52 PM, Steven wrote:

> On Thu, Sep 23, 2010 at 12:29 PM, Jacques Distler
>> Whoops!
>> 
>> I should have said
>> 
>>    gem install sqlite3-ruby itextomml --no-rdoc --install-dir vendor
>> _______________________________________________
> 
> I ran the command but this is what I get:
> 
> 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 sqlite3.h... yes
> checking for sqlite3_libversion_number() in -lsqlite3... yes
> checking for rb_proc_arity()... no
> checking for sqlite3_initialize()... no
> sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade!
> *** 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-sqlite3lib
>        --without-sqlite3lib
> 
> It seems like I have to update sqlite, but I doubt I have the
> permissions to do so. Is there another workaround?

So Dreamhost has an ancient version of the sqlite3 library, too?

It seems you have two options.

1) Hope that Dreamhost has an older version of the sqlite3-ruby gem installed.
   * Remove the vendor/plugins/sqlite3-ruby directory from your Instiki 
distribution,
     and (if Dreamhost does have the gem installed) Instiki will use the gem 
version instead.

2) Beg Dreahost support to update their sqlite3 library, so that you can 
install the gem 
   locally (per my previous instructions).

Either way, the vendor/plugins/sqlite3-ruby, bundled with the prerelease 
version of Instiki 0.19, is the source of nothing but trouble, and will be 
removed from the final distribution.


Best,
Jacques

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to