Skip to content

Instantly share code, notes, and snippets.

@benlovell
Created June 20, 2009 11:34
Show Gist options
  • Save benlovell/133142 to your computer and use it in GitHub Desktop.
Save benlovell/133142 to your computer and use it in GitHub Desktop.
MacBook-Air:do_sqlite3 benlovell$ rake spec
(in /Users/benlovell/Code/do/do_sqlite3)
To cross-compile, install rake-compiler (gem install rake-compiler)
rubyforge gem is required to generate releases, please install it (gem install rubyforge).
rm -r ext/do_sqlite3_ext/Makefile
rm -r ext-java/target
checking for sqlite3.h... yes
checking for sqlite3_open() in -lsqlite3... yes
checking for sqlite3_prepare_v2()... yes
checking for sqlite3_open_v2()... yes
creating Makefile
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DHAVE_SQLITE3_H -DHAVE_SQLITE3_PREPARE_V2 -DHAVE_SQLITE3_OPEN_V2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -Wall -c do_sqlite3_ext.c
cc -arch i386 -pipe -bundle -undefined dynamic_lookup -o do_sqlite3_ext.bundle do_sqlite3_ext.o -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -lruby -lsqlite3 -lpthread -ldl
cp ext/do_sqlite3_ext/do_sqlite3_ext.bundle lib/do_sqlite3_ext.bundle
rm -r coverage
/Users/benlovell/Code/do/do_sqlite3/spec/spec_helper.rb:2: warning: already initialized constant JRUBY
/Users/benlovell/Code/do/do_sqlite3/spec/spec_helper.rb:19: warning: already initialized constant DATAOBJECTS_SPEC_ROOT
/Users/benlovell/Code/do/do_sqlite3/lib/do_sqlite3_ext.bundle: dlopen(/Users/benlovell/Code/do/do_sqlite3/lib/do_sqlite3_ext.bundle, 9): no suitable image found. Did find: (LoadError)
/Users/benlovell/Code/do/do_sqlite3/lib/do_sqlite3_ext.bundle: mach-o, but wrong architecture - /Users/benlovell/Code/do/do_sqlite3/lib/do_sqlite3_ext.bundle
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/benlovell/Code/do/do_sqlite3/lib/do_sqlite3.rb:18
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/benlovell/Code/do/do_sqlite3/spec/spec_helper.rb:29
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from ./spec/command_spec.rb:3
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:15:in `load'
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:15:in `load_files'
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:14:in `each'
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:14:in `load_files'
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner/options.rb:99:in `run_examples'
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner.rb:61:in `run'
from /Library/Ruby/Gems/1.8/gems/rspec-1.2.6/lib/spec/runner.rb:45:in `autorun'
from /usr/bin/rcov:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment