Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [rs@Calliope ~/Sites/rails/sample_app]$ gem install sqlite3-ruby
- Building native extensions. This could take a while...
- ERROR: Error installing sqlite3-ruby:
- ERROR: Failed to build gem native extension.
- /Users/rs/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
- checking for sqlite3.h... yes
- checking for sqlite3_libversion_number() in -lsqlite3... yes
- checking for rb_proc_arity()... yes
- 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/Users/rs/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.5.0 -I/Users/rs/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/rs/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -DHAVE_RB_PROC_ARITY -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o backup.o -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/rs/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/sqlite3-ruby-1.3.2 for inspection.
- Results logged to /Users/rs/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/sqlite3-ruby-1.3.2/ext/sqlite3/gem_make.out
- [rs@Calliope ~/Sites/rails/sample_app]$ cat /Users/rs/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/sqlite3-ruby-1.3.2/ext/sqlite3/gem_make.out
- /Users/rs/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
- checking for sqlite3.h... yes
- checking for sqlite3_libversion_number() in -lsqlite3... yes
- checking for rb_proc_arity()... yes
- 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/Users/rs/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.5.0 -I/Users/rs/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/rs/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -DHAVE_RB_PROC_ARITY -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o backup.o -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
- [rs@Calliope ~/Sites/rails/sample_app]$
Add Comment
Please, Sign In to add comment