On Nov 9, 2:37 ¨Βν¬ Μυισ Μαφεξα Όμυισμαφ®®®ΐηναιμ®γονΎ χςοτεΊ > On Nov 9, 11:45 ¨Βν¬ δαφιΌδαφιδθο®®®ΐηναιμ®γονΎ χςοτεΊ > > > I've been scripting in Ruby (and Rails) for about two years now, but > > have never gotten into the internals of the module/gem side. I've > > created a Ruby script using SQLite3 which works well for small data > > sets but has a performance issue when dealing with a large amount of > > data. I'm hoping to try theBerkeleyDB. > > > To start, the environment is the following. > > > Windows XP > >BerkeleyDB4.8.24 > > ruby .8.6-27 (http://rubyinstaller.org) > > devkit-3.4.5r3-20090411 (http://rubyinstaller.org/addons.html) > > bdb-0.6.5 > > That will not work. > > DevKit has been prepared to work with newer RubyInstaller releases, > not the old One-Click ones. That is because One-Click has been > compiled with VC6 and RubyInstaller with GCC, Ruby needs to use the > same compiler. > > Using the correct version of Ruby with the DevKit will allow you use -- > with-db-dir option pointing to the root of the compiled BDB libraries > (which seems you didn't extract or installed). > > So, first: > > * Get the proper Ruby and DevKit > * Get BDB binaries and development dependencies > * Unpack them in a directory you remember > * Unpack the bdb extension > * Proceed with extconf and the proper compilation options. > > HTH, > -- > Luis Lavena Thanks a lot Luis! Giving it a try. Will post results. Dave