INSTALL

Tue, 01 Sep 2009 13:15:02 +0000

author
nrich@ii.net
date
Tue, 01 Sep 2009 13:15:02 +0000
changeset 32
03ed0ca09837
parent 29
9b9d85320bc3
child 34
c01b0c6d2f82
permissions
-rw-r--r--

Add __tostring method to connection and statement objects.

= 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 ==

LuaDBI has not been built or tested on 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) and DBI.lua
must be installed correctly to use LuaDBI

mercurial