Skip to content

Instantly share code, notes, and snippets.

@1000hz
Created May 29, 2013 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1000hz/5673202 to your computer and use it in GitHub Desktop.
Save 1000hz/5673202 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby-1.3.1.gem:
ERROR: Failed to build gem native extension.
/Users/cinas/.rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb --with-opt-include=/usr/local/include
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... yes
checking for rb_thread_blocking_region()... yes
checking for RUBY_UBF_IO in ruby.h... 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()... yes
checking for sqlite3_load_extension()... yes
creating Makefile
make
compiling database.c
database.c: In function ‘rb_comparator_func’:
database.c:591: warning: passing argument 2 of ‘rb_str_new’ with different width due to prototype
database.c:592: warning: passing argument 2 of ‘rb_str_new’ with different width due to prototype
database.c: In function ‘progress’:
database.c:742: warning: unused parameter ‘a’
database.c:742: warning: unused parameter ‘b’
database.c: In function ‘backupDb’:
database.c:749: warning: unused parameter ‘xProgress’
database.c: In function ‘back_up_sqlite3db_main’:
database.c:805: warning: implicit conversion shortens 64-bit value into a 32-bit value
database.c: At top level:
./sqlite3_ruby.h:46: warning: ‘invoke_function’ declared ‘static’ but never defined
compiling exception.c
./sqlite3_ruby.h:46: warning: ‘invoke_function’ declared ‘static’ but never defined
compiling sqlite3.c
sqlite3.c: In function ‘Init_sqlite3_native’:
sqlite3.c:27: error: ‘SQLITE_CONFIG_URI’ undeclared (first use in this function)
sqlite3.c:27: error: (Each undeclared identifier is reported only once
sqlite3.c:27: error: for each function it appears in.)
make: *** [sqlite3.o] Error 1
Gem files will remain installed in /Users/cinas/.rvm/gems/ruby-1.9.3-p392@app/gems/sqlite3-ruby-1.3.1 for inspection.
Results logged to /Users/cinas/.rvm/gems/ruby-1.9.3-p392@app/gems/sqlite3-ruby-1.3.1/ext/sqlite3/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment