Skip to content

Instantly share code, notes, and snippets.

@eclubb
Created January 8, 2009 17:37
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 eclubb/44813 to your computer and use it in GitHub Desktop.
Save eclubb/44813 to your computer and use it in GitHub Desktop.
$ rake native gem --trace
(in /home/ehc/projects/do/do_sqlite3)
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009.
which: no dot in (/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/home/ehc/bin:/sbin:/usr/sbin)
rake-compiler must be configured first to enable cross-compilation
** Invoke native (first_time)
** Invoke native:i386-linux (first_time)
** Invoke native:do_sqlite3:i386-linux (first_time)
** Invoke tmp/i386-linux/do_sqlite3_ext/do_sqlite3_ext.so (first_time)
** Invoke tmp/i386-linux/do_sqlite3_ext/Makefile (first_time)
** Invoke tmp/i386-linux/do_sqlite3_ext (first_time)
** Execute tmp/i386-linux/do_sqlite3_ext
mkdir -p tmp/i386-linux/do_sqlite3_ext
** Invoke ext/do_sqlite3_ext/extconf.rb (first_time, not_needed)
** Execute tmp/i386-linux/do_sqlite3_ext/Makefile
cd tmp/i386-linux/do_sqlite3_ext
/usr/bin/ruby -I. /home/ehc/projects/do/do_sqlite3/ext/do_sqlite3_ext/extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_open() in -lsqlite3... yes
checking for sqlite3_prepare_v2()... yes
creating Makefile
cd -
** Invoke ext/do_sqlite3_ext/do_sqlite3_ext.c (first_time, not_needed)
** Execute tmp/i386-linux/do_sqlite3_ext/do_sqlite3_ext.so
cd tmp/i386-linux/do_sqlite3_ext
make
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I/home/ehc/projects/do/do_sqlite3/ext/do_sqlite3_ext -DHAVE_SQLITE3_H -DHAVE_SQLITE3_PREPARE_V2 -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC -Wall -c /home/ehc/projects/do/do_sqlite3/ext/do_sqlite3_ext/do_sqlite3_ext.c
gcc -shared -o do_sqlite3_ext.so do_sqlite3_ext.o -L. -L/usr/lib -L. -rdynamic -Wl,-export-dynamic -lruby -lsqlite3 -lpthread -ldl -lcrypt -lm -lc
cd -
** Execute native:do_sqlite3:i386-linux
** Execute native:i386-linux
** Execute native
** Invoke gem (first_time)
** Invoke pkg/do_sqlite3-0.9.10.1.gem (first_time)
** Invoke pkg (first_time)
** Execute pkg
mkdir -p pkg
** Invoke .gitignore (first_time, not_needed)
** Invoke History.txt (first_time, not_needed)
** Invoke LICENSE (first_time, not_needed)
** Invoke Manifest.txt (first_time, not_needed)
** Invoke README.txt (first_time, not_needed)
** Invoke Rakefile (first_time, not_needed)
** Invoke TODO (first_time, not_needed)
** Invoke buildfile (first_time, not_needed)
** Invoke ext-java/src/main/java/DoSqlite3ExtService.java (first_time, not_needed)
** Invoke ext-java/src/main/java/do_sqlite3/Sqlite3DriverDefinition.java (first_time, not_needed)
** Invoke ext/do_sqlite3_ext/do_sqlite3_ext.c (not_needed)
** Invoke ext/do_sqlite3_ext/extconf.rb (not_needed)
** Invoke lib/do_sqlite3.rb (first_time, not_needed)
** Invoke lib/do_sqlite3/transaction.rb (first_time, not_needed)
** Invoke lib/do_sqlite3/version.rb (first_time, not_needed)
** Invoke spec/integration/do_sqlite3_spec.rb (first_time, not_needed)
** Invoke spec/integration/logging_spec.rb (first_time, not_needed)
** Invoke spec/integration/quoting_spec.rb (first_time, not_needed)
** Invoke spec/spec.opts (first_time, not_needed)
** Invoke spec/spec_helper.rb (first_time, not_needed)
** Invoke spec/unit/transaction_spec.rb (first_time, not_needed)
** Execute pkg/do_sqlite3-0.9.10.1.gem
WARNING: RDoc will not be generated (has_rdoc == false)
Successfully built RubyGem
Name: do_sqlite3
Version: 0.9.10.1
File: do_sqlite3-0.9.10.1.gem
mv do_sqlite3-0.9.10.1.gem pkg/do_sqlite3-0.9.10.1.gem
** Invoke pkg/do_sqlite3-0.9.10.1-x86-linux.gem (first_time)
** Invoke pkg (not_needed)
** Invoke .gitignore (not_needed)
** Invoke History.txt (not_needed)
** Invoke LICENSE (not_needed)
** Invoke Manifest.txt (not_needed)
** Invoke README.txt (not_needed)
** Invoke Rakefile (not_needed)
** Invoke TODO (not_needed)
** Invoke buildfile (not_needed)
** Invoke ext-java/src/main/java/DoSqlite3ExtService.java (not_needed)
** Invoke ext-java/src/main/java/do_sqlite3/Sqlite3DriverDefinition.java (not_needed)
** Invoke ext/do_sqlite3_ext/do_sqlite3_ext.c (not_needed)
** Invoke ext/do_sqlite3_ext/extconf.rb (not_needed)
** Invoke lib/do_sqlite3.rb (not_needed)
** Invoke lib/do_sqlite3/transaction.rb (not_needed)
** Invoke lib/do_sqlite3/version.rb (not_needed)
** Invoke spec/integration/do_sqlite3_spec.rb (not_needed)
** Invoke spec/integration/logging_spec.rb (not_needed)
** Invoke spec/integration/quoting_spec.rb (not_needed)
** Invoke spec/spec.opts (not_needed)
** Invoke spec/spec_helper.rb (not_needed)
** Invoke spec/unit/transaction_spec.rb (not_needed)
** Invoke lib/do_sqlite3_ext.so (first_time)
** Invoke copy:do_sqlite3_ext:i386-linux (first_time)
** Invoke lib (first_time, not_needed)
** Invoke tmp/i386-linux/do_sqlite3_ext/do_sqlite3_ext.so (not_needed)
** Execute copy:do_sqlite3_ext:i386-linux
cp tmp/i386-linux/do_sqlite3_ext/do_sqlite3_ext.so lib/do_sqlite3_ext.so
** Invoke copy:do_sqlite3_ext:i386-linux
** Execute pkg/do_sqlite3-0.9.10.1-x86-linux.gem
WARNING: RDoc will not be generated (has_rdoc == false)
Successfully built RubyGem
Name: do_sqlite3
Version: 0.9.10.1
File: do_sqlite3-0.9.10.1-x86-linux.gem
mv do_sqlite3-0.9.10.1-x86-linux.gem pkg/do_sqlite3-0.9.10.1-x86-linux.gem
** Execute gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment