KDb/Drivers/SQLite: Difference between revisions

From KDE Community Wiki
< KDb‎ | Drivers
(Created page with "==Requirements for libsqlite3== configure as follows: mkdir builddir cd builddir CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_COLUMN_METADAT...")
 
Line 3: Line 3:
  mkdir builddir
  mkdir builddir
  cd builddir
  cd builddir
  CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_COLUMN_METADATA" \
  CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
-DSQLITE_ENABLE_COLUMN_METADATA" \
  ../sqlite-src-???/configure --prefix=.... --enable-load-extension
  ../sqlite-src-???/configure --prefix=.... --enable-load-extension



Revision as of 21:08, 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-load-extension is a must to have support for setting up unicode collations.

Optionally: append --enable-debug for debugging version.