SQLITE3 SCOL SUPPORT

Sqlite3 support to Scol server 4.

Author : Stephane Bisaro, aka iri <iri@irizone.net>
License : SCOL

About Scol : http://www.scolring.org/

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

COMPILATION :

You should be on the 32-bit system.

- First, compile the last sqlite3 sources (http://www.sqlite.org)
If these sources are in 'rsc' subfolder ....
$ cd rsc
Create the object
$ gcc -c -fPIC sqlite3.c
Create the static library
$ ar rs libsqlite3_lin-x.y.z.a sqlite3.o
(x.y.z are the MAJOR.MINOR.MICRO of the sqlite3 version)

- Next, compile the Scol library
$ cd ..
Create the object
$ gcc -c -Wall -pedantic -fpic main.c
Create the Scol library
$ gcc -shared -L./rsc -o libsqlite3.so main.o -lsqlite3_lin-x.y.z -lpthread

INSTALLTION

Copy the Scol library in the 'plugins' sub folder.
Edit the usm.ini file. Add this line :
plugin ./plugins/libsqlite3.so ScolLoadPlugin
Restart the Scol server.

Enjoy !