| 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 | Inside the vc++ directory are build projects for Visual C++ to build LuaDBI |
| 21 | for Windows. |
| 22 | |
| 23 | = Make Targets = |
| 24 | |
| 25 | * make free - builds MySQL, PostgreSQL and SQLite3 drivers |
| 26 | * make all - as above, but also builds DB2 and Oracle drivers |
| 27 | * make mysql |
| 28 | * make psql |
| 29 | * make sqlite3 |
| 30 | * make db2 |
| 31 | * make oracle |
| 32 | |
| 33 | = Installation = |
| 34 | |
| 35 | Please consult your distributions documentation on installing Lua modules. |
| 36 | Please note that both the database binary driver packages (*.so|*.dll) and DBI.lua |
| 37 | must be installed correctly to use LuaDBI |