From: John Vajda Date: 2010-03-02T08:14:20+09:00 Subject: Can't install sqlite3 on Windows XP: Please Help! I am trying to install ruby on windows with gem sqlite3 version 1.2.3 I have followed all the instructions here: http://wiki.devchix.com/index.php?title=Server_2003 and get stuck on the sqlite install: here is the error I get. Please help! I've looked everywhere for a solution, but can't resolve it. C:\Ruby\lib\ruby\gems\1.8\cache> gem install sqlite3-ruby Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. C:/Ruby/bin/ruby.exe extconf.rb checking for fdatasync() in rt.lib... no checking for sqlite3.h... no C:\Ruby\lib\ruby\gems\1.8\cache> gem install sqlite3-ruby Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. C:/Ruby/bin/ruby.exe extconf.rb checking for fdatasync() in rt.lib... no checking for sqlite3.h... no *** 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 --srcdir=. --curdir --ruby=C:/Ruby/bin/ruby --with-sqlite3-dir --without-sqlite3-dir --with-sqlite3-include --without-sqlite3-include=${sqlite3-dir}/include --with-sqlite3-lib --without-sqlite3-lib=${sqlite3-dir}/lib --with-rtlib --without-rtlib my environment information: C:\Ruby\lib\ruby\gems\1.8\cache>gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8 - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby/bin - RUBYGEMS PLATFORMS: - ruby - x86-mswin32-60 - GEM PATHS: - C:/Ruby/lib/ruby/gems/1.8 - C:/Documents and Settings/jvajda/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ -- Posted via http://www.ruby-forum.com/.