|
|
| version 1.2, 2007/02/21 17:16:36 | version 1.4, 2013/07/07 16:27:48 |
|---|---|
| Line 1 | Line 1 |
| 0.Assuming your perform your builds in $D directory | 1.What is the process to compile Parser3 SQLite driver? |
| and suggested subdirectories. | |
| 1.What is the process to compile Parser3 SQLite driver? | SQLite client software and include files should be installed. |
| Parser3 sources should be in ../../parser3 directory. | |
| Execute the following commands: | |
| You sould have SQLite client software and include files installed. | |
| As most UNIX libraries Parser3 SQLite driver follows the "standard": | |
| cd $D/parser3project | |
| mkdir sql | |
| cd sql | |
| gunzip -c parser3sqlite-x.x.tar.gz | tar xvf - | |
| cd parser3sqlite-x.x | |
| ./configure --prefix=$HOME/parser3install --silent | ./configure --prefix=$HOME/parser3install --silent |
| make | make |
| In case configure could not find directory with your | In case configure could not find directory with your |
| SQLite client software include files, specify it with | SQLite client software include files, specify it with |
| --with-sqlite-inc=DIR DIR is the SQLite includes directory | --with-sqlite-inc=DIR DIR is the SQLite includes directory |
| option. | option. |
| 2.What is the process to install Parser3 SQLite driver? | 2.What is the process to install Parser3 SQLite driver? |
| make install | make install |
| Installation layout: | Installation layout: |
| $prefix/lib/ | $prefix/lib/ |
| libparser3sqlite.x -- driver's dynamic library | libparser3sqlite.so -- driver's dynamic library |
| NOTE: | NOTE: |
| make sure that Parser3 main configuration file, | make sure that Parser3 main configuration file, $prefix/bin/auto.p |
| $prefix/etc/auto.p | has in $SQL[...] configuration section a tab-delimited line like this: |
| has in $SQL[...] configuration section a line like this: | |
| sqlite $sqldriversdir/libparser3sqlite.so /usr/local/lib/sqlite/sqlite3.so | sqlite $sqldriversdir/libparser3sqlite.so libsqlite3.so |
| which specifies | which specifies |
| protocol name | protocol name |
| Line 42 sqlite $sqldriversdir/libparser3sqlite.s | Line 32 sqlite $sqldriversdir/libparser3sqlite.s |
| path to SQLite client 'sqlite' dynamic library | path to SQLite client 'sqlite' dynamic library |
| [you sould have it from from your SQLite client installation] | [you sould have it from from your SQLite client installation] |
| Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | |
| $Id$ | $Id$ |