Changes between Version 1 and Version 2 of InstallationInstructions
- Timestamp:
- 11/29/07 20:26:43 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationInstructions
v1 v2 1 = Installation instructions = 1 There are two ways to compile and install debea libraries. Some additional 2 steps needs to be taken when you want to compile sources checked out directly 3 from svn repository. 2 4 3 1. Download latest stable version of common and dba libraries from DebeaDownload section and unpack them 4 2. Enter to dba source directory and issue following commands to compile and install libraries 5 in directory pointed by ''%DEVEL%'' enviroment variable: 5 CompileSvn - instructions how to compile sources checked out from svn[[BR]] 6 CompilePackage - instructions how to compile sources from released package 6 7 7 For windows:8 {{{9 set DEVEL=\<dir where headers and libraries should go\>10 nmake -f makefile.vc <options>11 nmake -f makefile.vc <options> install12 }}}13 8 14 For unix:15 {{{16 configure <options>17 make18 make install19 }}}20 9 21 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-config22 to dba configure script.23 10 24 == Common options: ==25 26 '''TEST'''[[BR]]27 Compile and run tests before doing install step.28 29 '''DOCS'''[[BR]]30 Create doxygen documentation. You have to run31 "make doc" and "make doc-install" to generate documentation and install it.32 33 == Driver options: ==34 35 '''SQLITE3'''[[BR]]36 Create sqlite3 driver37 38 '''PGSQL'''[[BR]]39 Create PostgreSQL driver40 41 '''ODBC'''[[BR]]42 Create ODBC driver43 44 '''CSV'''[[BR]]45 Compile support for databases in CSV file format46 47 == Usage ==48 49 For unix you have dba-config script that returns proper compilation and linking flags.50 For windows you have to modify your project file and add ''%DEVEL%\include'' to include path and51 ''%DEVEL%\lib'' to linker flags.52 53 Programs that use database plugins must be able to find so/dll files from $prefix/lib/plugins(d)54 (%DEVEL\lib\plugins(d) under MSW) directory.55
