# Bdb xml

**URL:** <https://www.ruby-forum.com/t/bdb-xml/95615>\
**Category:** Rails\
**Created:** [June 7, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/bdb-xml/95615 "2006-06-07T13:33:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![levent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@levent](https://www.ruby-forum.com/u/levent)\
**Post date:** [June 7, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/bdb-xml/95615/1 "2006-06-07T13:33:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![levent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@levent](https://www.ruby-forum.com/u/levent)\
**Post date:** [December 21, 2007, 3:09am UTC](https://www.ruby-forum.com/t/bdb-xml/95615/2 "2007-12-21T03:09:13Z")

</div>

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?
