KDb/Drivers/SQLite: Difference between revisions

From KDE Community Wiki
< KDb‎ | Drivers
Line 5: Line 5:
  CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
  CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
  -DSQLITE_ENABLE_COLUMN_METADATA" \
  -DSQLITE_ENABLE_COLUMN_METADATA" \
  ../sqlite-src-???/configure --prefix=.... --enable-load-extension
  ../sqlite-src-???/configure --prefix=.... --enable-load-extension --enable-threadsafe


--enable-load-extension is a must to have support for setting up unicode collations.
--enable-load-extension is a must to have support for setting up unicode collations.


Optionally: append --enable-debug for debugging version.
Recommended options: --enable-threadsafe
Optional: append --enable-debug for debugging version.

Revision as of 21:14, 16 December 2011

Requirements for libsqlite3

configure as follows:

mkdir builddir
cd builddir
CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
-DSQLITE_ENABLE_COLUMN_METADATA" \
../sqlite-src-???/configure --prefix=.... --enable-load-extension --enable-threadsafe

--enable-load-extension is a must to have support for setting up unicode collations.

Recommended options: --enable-threadsafe Optional: append --enable-debug for debugging version.