File: INSTALL

package info (click to toggle)
lua-dbi 0.5%2Bsvn78-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 360 kB
  • sloc: ansic: 2,908; makefile: 77
file content (37 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (3)
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
= 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

= 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