~$whoami
root
~$ruby --version
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
~$gem install amalgalite
Building native extensions. This could take a while...
ERROR: Error installing amalgalite:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install amalgalite
creating Makefile
make
gcc -I. -I/usr/local/include/ruby-1.9.1/i686-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_OMIT_BUILTIN_TEST=1 -DSQLITE_THREADSAFE=0 -o amalgalite3_blob.o -c amalgalite3_blob.c
amalgalite3_blob.c: In function ‘am_sqlite3_blob_initialize’:
amalgalite3_blob.c:40: error: ‘struct RString’ has no member named ‘len’
amalgalite3_blob.c:41: error: ‘struct RString’ has no member named ‘ptr’
amalgalite3_blob.c:42: error: ‘struct RString’ has no member named ‘ptr’
amalgalite3_blob.c:44: error: ‘struct RString’ has no member named ‘ptr’
amalgalite3_blob.c:48: error: ‘struct RString’ has no member named ‘ptr’
amalgalite3_blob.c: In function ‘am_sqlite3_blob_write’:
amalgalite3_blob.c:164: error: ‘struct RString’ has no member named ‘len’
amalgalite3_blob.c:169: error: ‘struct RString’ has no member named ‘ptr’
make: *** [amalgalite3_blob.o] Error 1
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/amalgalite-0.8.0 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/amalgalite-0.8.0/ext/gem_make.out
Updating class cache with 1410 classes...
~ $