Guest User

Untitled

a guest
Aug 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. [rs@Calliope ~/Sites/rails/sample_app]$ gem install sqlite3-ruby
  2. Building native extensions. This could take a while...
  3. ERROR: Error installing sqlite3-ruby:
  4. ERROR: Failed to build gem native extension.
  5.  
  6. /Users/rs/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
  7. checking for sqlite3.h... yes
  8. checking for sqlite3_libversion_number() in -lsqlite3... yes
  9. checking for rb_proc_arity()... yes
  10. checking for sqlite3_initialize()... yes
  11. checking for sqlite3_next_stmt()... yes
  12. checking for sqlite3_column_database_name()... no
  13. checking for sqlite3_enable_load_extension()... no
  14. checking for sqlite3_load_extension()... no
  15. creating Makefile
  16.  
  17. make
  18. 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
  19. In file included from ./sqlite3_ruby.h:42,
  20. from backup.c:1:
  21. ./backup.h:7: error: expected specifier-qualifier-list before 'sqlite3_backup'
  22. backup.c: In function 'initialize':
  23. backup.c:61: error: 'sqlite3_backup' undeclared (first use in this function)
  24. backup.c:61: error: (Each undeclared identifier is reported only once
  25. backup.c:61: error: for each function it appears in.)
  26. backup.c:61: error: 'pBackup' undeclared (first use in this function)
  27. backup.c:75: error: 'sqlite3BackupRuby' has no member named 'p'
  28. backup.c: In function 'step':
  29. backup.c:99: error: 'sqlite3BackupRuby' has no member named 'p'
  30. backup.c:100: error: 'sqlite3BackupRuby' has no member named 'p'
  31. backup.c: In function 'finish':
  32. backup.c:113: error: 'sqlite3BackupRuby' has no member named 'p'
  33. backup.c:114: error: 'sqlite3BackupRuby' has no member named 'p'
  34. backup.c:115: error: 'sqlite3BackupRuby' has no member named 'p'
  35. backup.c: In function 'remaining':
  36. backup.c:131: error: 'sqlite3BackupRuby' has no member named 'p'
  37. backup.c:132: error: 'sqlite3BackupRuby' has no member named 'p'
  38. backup.c: In function 'pagecount':
  39. backup.c:147: error: 'sqlite3BackupRuby' has no member named 'p'
  40. backup.c:148: error: 'sqlite3BackupRuby' has no member named 'p'
  41. make: *** [backup.o] Error 1
  42.  
  43.  
  44. Gem files will remain installed in /Users/rs/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/sqlite3-ruby-1.3.2 for inspection.
  45. Results logged to /Users/rs/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/sqlite3-ruby-1.3.2/ext/sqlite3/gem_make.out
  46.  
  47.  
  48. [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
  49. /Users/rs/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
  50. checking for sqlite3.h... yes
  51. checking for sqlite3_libversion_number() in -lsqlite3... yes
  52. checking for rb_proc_arity()... yes
  53. checking for sqlite3_initialize()... yes
  54. checking for sqlite3_next_stmt()... yes
  55. checking for sqlite3_column_database_name()... no
  56. checking for sqlite3_enable_load_extension()... no
  57. checking for sqlite3_load_extension()... no
  58. creating Makefile
  59.  
  60. make
  61. 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
  62. In file included from ./sqlite3_ruby.h:42,
  63. from backup.c:1:
  64. ./backup.h:7: error: expected specifier-qualifier-list before 'sqlite3_backup'
  65. backup.c: In function 'initialize':
  66. backup.c:61: error: 'sqlite3_backup' undeclared (first use in this function)
  67. backup.c:61: error: (Each undeclared identifier is reported only once
  68. backup.c:61: error: for each function it appears in.)
  69. backup.c:61: error: 'pBackup' undeclared (first use in this function)
  70. backup.c:75: error: 'sqlite3BackupRuby' has no member named 'p'
  71. backup.c: In function 'step':
  72. backup.c:99: error: 'sqlite3BackupRuby' has no member named 'p'
  73. backup.c:100: error: 'sqlite3BackupRuby' has no member named 'p'
  74. backup.c: In function 'finish':
  75. backup.c:113: error: 'sqlite3BackupRuby' has no member named 'p'
  76. backup.c:114: error: 'sqlite3BackupRuby' has no member named 'p'
  77. backup.c:115: error: 'sqlite3BackupRuby' has no member named 'p'
  78. backup.c: In function 'remaining':
  79. backup.c:131: error: 'sqlite3BackupRuby' has no member named 'p'
  80. backup.c:132: error: 'sqlite3BackupRuby' has no member named 'p'
  81. backup.c: In function 'pagecount':
  82. backup.c:147: error: 'sqlite3BackupRuby' has no member named 'p'
  83. backup.c:148: error: 'sqlite3BackupRuby' has no member named 'p'
  84. make: *** [backup.o] Error 1
  85.  
  86.  
  87. [rs@Calliope ~/Sites/rails/sample_app]$
Add Comment
Please, Sign In to add comment