I downloaded sqlite from http://www.sqlite.org/sqlite-autoconf-3070701.tar.gz
How can I compile sqlite with icu ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1) You can compile it as dynamic extension of SQLite
Citing http://www.sqlite.org/cvstrac/fileview?f=sqlite/ext/icu/README.txt
(loading is
.load libSqliteIcu.soin SQLite prompt)2) You can compile SQLite with ICU enabled. According to http://www.sqlite.org/compile.html
you should define macro
SQLITE_ENABLE_ICU:Add
-DSQLITE_ENABLE_ICUto the CFLAGS variable or add#define SQLITE_ENABLE_ICUin some config file.Okay, there is something here not described in standard documentation. Here is an example of calling configure with ICU enabled:
You also should have
icu-configprogram installed (it is fromlibicuorlibicu-devpackage)