Skip to content

Instantly share code, notes, and snippets.

@kiyoka
Created August 19, 2012 02:18
Show Gist options
  • Save kiyoka/3391034 to your computer and use it in GitHub Desktop.
Save kiyoka/3391034 to your computer and use it in GitHub Desktop.
Sqlite3 install error message
sqlite3 install fails. on Debian 6.0 enviroment.
Ruby 1.9.3-p194 was built from source code.
~ $ dpkg --list | grep sqlite3
ii libaprutil1-dbd-sqlite3 1.3.9+dfsg-5 The Apache Portable Runtime Utility Library - SQLite3 Driver
ii libsqlite3-0 3.7.3-1 SQLite 3 shared library
ii libsqlite3-dev 3.7.3-1 SQLite 3 development files
ii sqlite3 3.7.3-1 A command line interface for SQLite 3
~ $ gem i sqlite3
Building native extensions. This could take a while...
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/commands/test_command.rb:144.
WARNING: rake-compiler found compiled files in 'ext/sqlite3' directory. Please remove them.mkdir -p tmp/x86_64-linux/sqlite3_native/1.9.3
cd tmp/x86_64-linux/sqlite3_native/1.9.3
/usr/local/stow/ruby-1.9.3-p194/bin/ruby -I. ../../../../ext/sqlite3/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()... yes
checking for sqlite3_enable_load_extension()... yes
checking for sqlite3_load_extension()... yes
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
linking shared-object sqlite3/sqlite3_native.so
database.o: そのようなファイルやディレクトリはありません
gcc: exception.o: そのようなファイルやディレクトリはありません
gcc: sqlite3.o: そのようなファイルやディレクトリはありません
gcc: statement.o: そのようなファイルやディレクトリはありません
gcc: backup.o: そのようなファイルやディレクトリはありません
make: *** [sqlite3_native.so] エラー 1
rake aborted!
Command failed with status (2): [make...]
Tasks: TOP => test => compile => compile:x86_64-linux => compile:sqlite3_native:x86_64-linux => copy:sqlite3_native:x86_64-linux:1.9.3 => tmp/x86_64-linux/sqlite3_native/1.9.3/sqlite3_native.so
Oof. Something went wrong on the results server processing these results. Sorry!
ERROR: Tests did not pass. Examine the output and report it to the author!
ERROR: Error installing sqlite3:
post-build hook at /usr/local/stow/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/rubygems-test-0.4.3/lib/rubygems/on_install_test.rb:6 failed for sqlite3-1.3.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment