Skip to content

Instantly share code, notes, and snippets.

@lawrencepit
Created December 2, 2010 23:08
Show Gist options
  • Save lawrencepit/726290 to your computer and use it in GitHub Desktop.
Save lawrencepit/726290 to your computer and use it in GitHub Desktop.
ree@api:~/project(master)$ gem uninstall sqlite3-ruby
Select gem to uninstall:
1. sqlite3-ruby-1.3.0
2. sqlite3-ruby-1.3.1
3. All versions
> 3
Successfully uninstalled sqlite3-ruby-1.3.0
Successfully uninstalled sqlite3-ruby-1.3.1
ree@api:~/project(master)$ gem install -v1.3.1 sqlite3-ruby
Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.3.1
1 gem installed
ree@api:~/project(master)$ gem install -v1.3.2 sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/Users/admin/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby 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()... yes
checking for sqlite3_next_stmt()... yes
checking for sqlite3_column_database_name()... no
checking for sqlite3_enable_load_extension()... no
checking for sqlite3_load_extension()... no
creating Makefile
make
gcc -I. -I. -I/Users/admin/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/i686-darwin10.4.0 -I. -DHAVE_SQLITE3_INITIALIZE -DHAVE_SQLITE3_NEXT_STMT -I/usr/local/include -I/opt/local/include -I/sw/local/include -I/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -pipe -fno-common -c backup.c
In file included from ./sqlite3_ruby.h:42,
from backup.c:1:
./backup.h:7: error: expected specifier-qualifier-list before ‘sqlite3_backup’
backup.c: In function ‘initialize’:
backup.c:61: error: ‘sqlite3_backup’ undeclared (first use in this function)
backup.c:61: error: (Each undeclared identifier is reported only once
backup.c:61: error: for each function it appears in.)
backup.c:61: error: ‘pBackup’ undeclared (first use in this function)
backup.c:75: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c: In function ‘step’:
backup.c:99: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c:100: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c: In function ‘finish’:
backup.c:113: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c:114: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c:115: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c: In function ‘remaining’:
backup.c:131: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c:132: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c: In function ‘pagecount’:
backup.c:147: error: ‘sqlite3BackupRuby’ has no member named ‘p’
backup.c:148: error: ‘sqlite3BackupRuby’ has no member named ‘p’
make: *** [backup.o] Error 1
Gem files will remain installed in /Users/admin/.rvm/gems/ree-1.8.7-2010.02@api/gems/sqlite3-ruby-1.3.2 for inspection.
Results logged to /Users/admin/.rvm/gems/ree-1.8.7-2010.02@api/gems/sqlite3-ruby-1.3.2/ext/sqlite3/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment