Created
January 15, 2013 01:29
-
-
Save sentience/4535222 to your computer and use it in GitHub Desktop.
Encountering an error building sqlite rubygem on OS X 10.8.2. sqlite3 version installed on system is 3.7.12. XCode 4.5.2 command-line tools are installed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/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_backup_init()... yes | |
checking for sqlite3_column_database_name()... no | |
checking for sqlite3_enable_load_extension()... no | |
checking for sqlite3_load_extension()... no | |
checking for sqlite3_open_v2()... yes | |
checking for sqlite3_prepare_v2()... yes | |
checking for sqlite3_int64 in sqlite3.h... yes | |
checking for sqlite3_uint64 in sqlite3.h... yes | |
creating Makefile | |
make | |
compiling backup.c | |
In file included from ./sqlite3_ruby.h:51, | |
from backup.c:3: | |
./backup.h:7: error: expected specifier-qualifier-list before ‘sqlite3_backup’ | |
backup.c: In function ‘initialize’: | |
backup.c:63: error: ‘sqlite3_backup’ undeclared (first use in this function) | |
backup.c:63: error: (Each undeclared identifier is reported only once | |
backup.c:63: error: for each function it appears in.) | |
backup.c:63: error: ‘pBackup’ undeclared (first use in this function) | |
backup.c:74: warning: implicit declaration of function ‘sqlite3_backup_init’ | |
backup.c:77: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c: In function ‘step’: | |
backup.c:101: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c:102: warning: implicit declaration of function ‘sqlite3_backup_step’ | |
backup.c:102: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c: In function ‘finish’: | |
backup.c:115: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c:116: warning: implicit declaration of function ‘sqlite3_backup_finish’ | |
backup.c:116: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c:117: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c: In function ‘remaining’: | |
backup.c:133: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c:134: warning: implicit declaration of function ‘sqlite3_backup_remaining’ | |
backup.c:134: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c: In function ‘pagecount’: | |
backup.c:149: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
backup.c:150: warning: implicit declaration of function ‘sqlite3_backup_pagecount’ | |
backup.c:150: error: ‘sqlite3BackupRuby’ has no member named ‘p’ | |
make: *** [backup.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment