INSTALL

Sun, 18 Jul 2010 03:42:30 +0000

author
nrich@ii.net
date
Sun, 18 Jul 2010 03:42:30 +0000
changeset 40
71c4b5dd82bb
parent 34
c01b0c6d2f82
permissions
-rw-r--r--

add paths for psql vc++ build

= 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

mercurial