>>>>> "N" == Nikolai Krot <fake_address / microsoft.com> writes:

N> 	BDB::Hash.open(path_to_db, nil, BDB::RDONLY, 0644)

N> I get the messages

N> warning: defining BDB::Env.allocate is deprecated; use 
N> use_define_alloc_func()

 ???

svg% ruby -vrbdb -e 'BDB::Hash.open("/tmp/aa", nil, BDB::RDONLY, 0644)'
ruby 1.8.1 (2003-12-25) [i686-linux]
svg%

 Do you have HAVE_RB_DEFINE_ALLOC_FUNC in intern.h (source of ruby) ?


svg% grep HAVE_RB_DEFINE_ALLOC_FUNC ~/ruby/ruby-1.8.1/*.h
/home/ts/ruby/ruby-1.8.1/intern.h:#define HAVE_RB_DEFINE_ALLOC_FUNC 1
svg% 


 This is a version of bdb compiled with ruby 1.8 ?


Guy Decoux