install/Linux/SQLite
This document is to explain how to install SQLite binding library.
Supported MySQL database version
This library supports only SQLite 3.3.9 or later.
Get the source code
Check out from subversion repository at 'https://cleanoptenv.svn.sourceforge.net/svnroot/cleanoptenv/trunk/DB/SQLite' to '~/lib/clean2.2/SQLite.'
Build object files
Change directory to '~/lib/clean2.2/SQLite/Foreign' and type 'make.' It will produce the following file.
- SQLite/Clean System Files/clean_sqlite3.o
Modify environment variables
Append the library directory to 'CLEANPATH' environment variable.
How to build a program with SQLite
Add the following lines in the link option file.
/usr/lib/libsqlite3.so.0
If the link option file is 'link.lo' then use the following command to compile the program.
clm -sl link MainModule -o Target
