Installation instructions
- Download latest stable version of library from DebeaDownload section and unpack them
- Set %DEVEL% environment variable to directory where Debea headers, libraries and plugins should be installed (windows only, for unix use --prefix configure flag)
- Enter to debea/dba source directory and issue following commands to compile and install:
For windows:
Using Visual Studio:
set DEVEL=\<dir where headers and libraries should go\> nmake -f makefile.vc <options> nmake -f makefile.vc <options> install
Using mingw:
export DEVEL=\<dir where headers and libraries should go\> mingw32-make -f makefile.gcc <options> mingw32-make -f makefile.gcc <options> install
For unix:
configure <options> make make install
All options are in form <OPTION_NAME>=0/1 for Visual Studio, mingw and --enable-option/--disable-option for autoconf makefile.
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.
