[Rubyinstaller-devel] Best way of installing sqlite3-ruby gem?

Charles Roper reachme at charlesroper.co.uk
Fri May 29 16:14:04 EDT 2009


Luis Lavena wrote:

> rake native gem

Hmm, when I do this step I get this:

D:\@ruby\sqlite3-ruby>rake native gem
(in D:/@ruby/sqlite3-ruby)
rake-compiler must be configured first to enable cross-compilation
rake-compiler must be configured first to enable cross-compilation
mkdir -p tmp/i386-mingw32/sqlite3_api
cd tmp/i386-mingw32/sqlite3_api
c:/ruby/bin/ruby.exe -I. 
D:/@ruby/sqlite3-ruby/ext/sqlite3_api/extconf.rb 
--with-sqlite3-dir=D:/@ruby/sqlite3-ruby/vendor/sqlite3
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no
*** D:/@ruby/sqlite3-ruby/ext/sqlite3_api/extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
         --with-opt-dir
         --without-opt-dir
         --with-opt-include
         --without-opt-include=${opt-dir}/include
         --with-opt-lib
         --without-opt-lib=${opt-dir}/lib
         --with-make-prog
         --without-make-prog
         --srcdir=D:/@ruby/sqlite3-ruby/ext/sqlite3_api
         --curdir
         --ruby=c:/ruby/bin/ruby
         --with-sqlite3-dir
         --with-sqlite3-include
         --without-sqlite3-include=${sqlite3-dir}/include
         --with-sqlite3-lib
         --without-sqlite3-lib=${sqlite3-dir}/lib
         --with-rtlib
         --without-rtlib
rake aborted!
Command failed with status (1): [c:/ruby/bin/ruby.exe -I. 
D:/@ruby/sqlite3-...]

(See full trace by running task with --trace)



More information about the Rubyinstaller-devel mailing list