No that's not it. You have to pass the do_sqlite3 gem the location of the sqlite3 headers, otherwise the gem won't build.
The problem i believe (ask someone more in the know than i am) is that it's not predictable where the sqlite3 is installed. This seems to be a fairly major stumbling block to windows installation. On Wed, Nov 19, 2008 at 9:00 AM, Martin Gamsjaeger <[EMAIL PROTECTED]> wrote: > > Not sure, but maybe you're experiencing > http://wm.lighthouseapp.com/projects/4819/tickets/660-require-sqlite3-fails-with-do_sqlite3-097#ticket-660-1 > > cheers > snusnu > > On Wed, Nov 19, 2008 at 1:04 PM, IndianGuru <[EMAIL PROTECTED]> wrote: >> >> I am using - >> Windows XP with SP2 box >> Ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] >> Ruby Gem 1.3.1 >> Merb 1.0.1 >> SQLite 3.6.5 >> >> To install the database driver that allows DataMapper to connect to >> sqlite3, I typed - >> gem install do_sqlite3 >> >> However, this gave an error - >> Building native extensions. This could take a while... >> ERROR: Error installing do_sqlite3: >> ERROR: Failed to build gem native extension. >> >> e:/ruby/bin/ruby.exe extconf.rb install do_sqlite3 >> 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=e:/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 >> >> >> Gem files will remain installed in e:/ruby/lib/ruby/gems/1.8/gems/ >> do_sqlite3-0.9 >> .7 for inspection. >> Results logged to e:/ruby/lib/ruby/gems/1.8/gems/do_sqlite3-0.9.7/ext/ >> gem_make.o >> ut >> >> What could be the problem? >> >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
