INSTALL

changeset 29
9b9d85320bc3
child 34
c01b0c6d2f82
equal deleted inserted replaced
28:44b1d78b50f5 29:9b9d85320bc3
1 = Dependencies =
2
3 Before attempting to build LuaDBI the development libaries for each database
4 must be installed. For Debian/Ubuntu systems, the list of required dependancies
5 are:
6
7 * libsqlite3-dev
8 * libmysqlclient15-dev
9 * libpq-dev
10 * db2exc (optional for DB2 support)
11 * oracle-xe-client (optional for Oracle support)
12
13 = Building =
14
15 Run `make` (or `make free`) in the source directory to build the Open Source
16 database drivers. To build the drivers for DB2 and Oracle, run `make all`.
17
18 == Windows ==
19
20 LuaDBI has not been built or tested on Windows.
21
22 = Make Targets =
23
24 * make free - builds MySQL, PostgreSQL and SQLite3 drivers
25 * make all - as above, but also builds DB2 and Oracle drivers
26 * make mysql
27 * make psql
28 * make sqlite3
29 * make db2
30 * make oracle
31
32 = Installation =
33
34 Please consult your distributions documentation on installing Lua modules.
35 Please note that both the database binary driver packages (*.so) and DBI.lua
36 must be installed correctly to use LuaDBI

mercurial