Installation instructions

1. Download latest stable version of common and dba libraries from DebeaDownload section and unpack them 2. Enter to dba source directory and issue following commands to compile and install libraries in directory pointed by %DEVEL% environment variable:

For windows:

set DEVEL=\<dir where headers and libraries should go\>
nmake -f makefile.vc <options>
nmake -f makefile.vc <options> install

For unix:

configure <options>
make
make install

All options are in form <OPTION_NAME>=0/1 for MSW and --enable-option/--disable-option for unix. For linux if you don't install common-config in your PATH you have to pass --with-common-config to dba configure script.

Common options:

TESTS
Compile and run tests before doing install step.

DOCS
Create doxygen documentation. You have to run "make doc" and "make doc-install" to generate documentation and install it.

SHARED
Compile shared version of library

DEBUG
Set to 1 to compile debug version or to 0 to compile release version

Driver options:

SQLITE3
Create sqlite3 driver. For MSW you need to have SQLITE_PATH environment variable pointing to directory where headers and sqlite3 export library is located. Headers are searched under %SQLITE_PATH%\include, library is searched at %SQLITE_PATH%\lib

PGSQL
Create PostgreSQL driver. For MSW you need to have POSTGRESQL environment variable pointing to directory where PostgreSQL 8.x is installed, for example C:\Program Files\PostgreSQL\8.1

ODBC
Create ODBC driver

CSV
Compile support for databases in CSV file format

Usage

For unix you have dba-config script that returns proper compilation and linking flags. For windows you have to modify your project file and add %DEVEL%\include to include path and %DEVEL%\lib to linker flags.

Programs that use database plugins must be able to find so/dll files from $prefix/lib/plugins(d) (%DEVEL\lib\plugins(d) under MSW) directory.