Created
March 8, 2012 19:28
-
-
Save dtolj/2002864 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ gem install sqlite3-ruby | |
Building native extensions. This could take a while... | |
ERROR: Error installing sqlite3-ruby: | |
ERROR: Failed to build gem native extension. | |
/usr/local/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()... no | |
checking for sqlite3_backup_init()... no | |
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/usr/local/lib/ruby/1.8/i686-linux -I. -D_FILE_OFFSET_BITS=64 -fPIC -g -O2 -c database.c | |
database.c: In function âinitializeâ: | |
database.c:47: error: âSQLITE_OPEN_READWRITEâ undeclared (first use in this function) | |
database.c:47: error: (Each undeclared identifier is reported only once | |
database.c:47: error: for each function it appears in.) | |
database.c:47: error: âSQLITE_OPEN_CREATEâ undeclared (first use in this function) | |
database.c:79: error: âSQLITE_OPEN_READONLYâ undeclared (first use in this function) | |
database.c: In function âset_sqlite3_func_resultâ: | |
database.c:285: error: âsqlite3_int64â undeclared (first use in this function) | |
make: *** [database.o] Error 1 | |
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/sqlite3-1.3.5 for inspection. | |
Results logged to /usr/local/lib/ruby/gems/1.8/gems/sqlite3-1.3.5/ext/sqlite3/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment