Seva Software

 

What is Aruna DB?

Last Updated: 10/1/2001

Download ArunaDB:

This software requires the Ruby programming language. You must download and install Ruby separately. This software has been tested with Ruby 1.6.4 (and current Ruby source) on linux Red Hat 6.2, FreeBSD 4.3 and Windows 2000/95 using cygwin.

 

Click here to download the ArunaDB software. This includes ArunaDB utilities and ArunaDB Embedded classes including, but not limited to, A_Table, A_Index, A_View, A_Column, A_BTree, A_FileStore, A_Catalog, and A_Buffer. The ArunaDB Database Server is not written yet.

 

Installation Instructions:

    • This creates a sub-directory called arunadb_0_80. This sub directory will contains the software (the .rb files that contain the classes for ArunaDB) the following:
    • docs - this directory contains all documentation. The documentation is currently available only in html format. Index.html is the highest level document.
    • ruby_ext - this contains several C extensions to Ruby needed by ArunaDB.
    • Tst - this contains the Ruby test scripts I use to test the software.

 

    • You may see some (about 2 dozen) warnings messages such as "aruna.c:412: warning: decimal constant is so large that it is unsigned". These are okay.
  • make install

 

  • You need to do one of the following to properly integrate ArunaDB into your Ruby scripts (Ruby needs to be configured to be able to find the ArunaDB files):
    • copy the .rb files to your Ruby lib directory
    • reference the arunadb_0_80 directory using the -I parameter when running Ruby
    • set the $: or $LOAD_PATH variables to include the directory where the ArunaDB files are (arunadb_0_80)

 

Run a quick test:

  • cd ../tst
  • ruby -I.. tst_a_btree.rb
    • The -I.. tells ruby to find the ArunaDB library files in the parent directory