File: INSTALL

package info (click to toggle)
lua-dbi 0.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 3,946; sql: 291; makefile: 129
file content (47 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
= Dependencies =

Before attempting to build LuaDBI the development libaries for each database
must be installed. For Debian/Ubuntu systems, the list of required dependancies
are:

 * libsqlite3-dev
 * libmysqlclient15-dev
 * libpq-dev
 * db2exc (optional for DB2 support)
 * oracle-xe-client (optional for Oracle support)

= Building =

Run `make` (or `make free`) in the source directory to build the Open Source
database drivers. To build the drivers for DB2 and Oracle, run `make all`.

== Windows ==

Inside the vc++ directory are build projects for Visual C++ to build LuaDBI
for Windows.

= Make Targets =

 * make free - builds MySQL, PostgreSQL and SQLite3 drivers
 * make all - as above, but also builds DB2 and Oracle drivers
 * make mysql
 * make psql
 * make sqlite3
 * make db2
 * make oracle

= Make Targets (install) =

 * make install_free - builds and installs MySQL, PostgreSQL and SQLite3 drivers
 * make install_all - as above, but also builds and installs DB2 and Oracle drivers
 * make install_mysql
 * make install_psql
 * make install_sqlite3
 * make install_db2
 * make install_oracle

= Installation =

Please consult your distributions documentation on installing Lua modules.
Please note that both the database binary driver packages (*.so|*.dll) and DBI.lua
must be installed correctly to use LuaDBI