Bdb xml

Anybody have any pointers for using BDB XML and Ruby on Rails?

I am developing on Windows XP pro…

I have installed Berkeley DB XML on my system
I have tried gem install rdbxml - this failed at first due to no nmake
I then installed nmake from the Windows support site.
Now when I run gem install rdbxml I get:


D:>gem install rdbxml
Attempting local installation of ‘rdbxml’
Local gem file not found: rdbxml*.gem
Attempting remote installation of ‘rdbxml’
Building native extensions. This could take a while…

Microsoft ® Program Maintenance Utility Version 1.50
Copyright © Microsoft Corp 1988-94. All rights reserved.

swig -ruby -c++ -I. -I/usr/local/include -o ext/db_wrap.cc ext/db.i
ext\db.i(15): Error: Unable to find ‘db_cxx.h’
rm -r ext/db_wrap.cc
rm -r ext/db_wrap.obj
rm -r ext/dbxml_wrap.cc
rm -r ext/dbxml_wrap.obj
swig -ruby -c++ -I. -I/usr/local/include -o ext/db_wrap.cc ext/db.i
ext\db.i(15): Error: Unable to find ‘db_cxx.h’

Microsoft ® Program Maintenance Utility Version 1.50
Copyright © Microsoft Corp 1988-94. All rights reserved.

swig -ruby -c++ -I. -I/usr/local/include -o ext/db_wrap.cc ext/db.i
ext\db.i(15): Error: Unable to find ‘db_cxx.h’
ruby extconf.rb install rdbxml

nmake
(in c:/ruby/lib/ruby/gems/1.8/gems/rdbxml-0.6)
rake aborted!
Command failed with status (1): [swig -ruby -c++ -I.
-I/usr/local/include -…]

(See full trace by running task with --trace)
(in c:/ruby/lib/ruby/gems/1.8/gems/rdbxml-0.6)
(in c:/ruby/lib/ruby/gems/1.8/gems/rdbxml-0.6)
rake aborted!
Command failed with status (1): [swig -ruby -c++ -I.
-I/usr/local/include -…]

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

nmake install
(in c:/ruby/lib/ruby/gems/1.8/gems/rdbxml-0.6)
rake aborted!
Command failed with status (1): [swig -ruby -c++ -I.
-I/usr/local/include -…]

(See full trace by running task with --trace)
Successfully installed rdbxml-0.6
Installing RDoc documentation for rdbxml-0.6…


It seems to have placed the folders in the appropriate folder under
C:\ruby\lib\ruby\gems\1.8\gems\rdbxml-0.6\lib

but when I require ‘rdbxml’ and try and use RDBXML in the code I get

MissingSourceFile: no such file to load – db

I’m a real newbie at BDB XML so any help will benefit me…

Thanks,
Levent

i have the same problem with rdbxml, and i trid RAA - bdb 0.62 ,but it
doesn’t work too. if you have an answer now, please help me.

Levent A. wrote:

Anybody have any pointers for using BDB XML and Ruby on Rails?