Stephen Woodbridge wrote:
> Hi all,
>
> I'm on Linux and I would like to build sqlite3 with rtree and ft3
> support. How do I do that? I have read through the docs, website, the
> wiki and have evidently missed the needed page(s).
>
> For example:
> http://www.sqlite.org/compile.html
> talks about compilation options but does not say where/how to use these
> options and it does not discuss rtree of fts3.
>
> Help or pointers appreciated.
OK, for the record, after search the archive and various wiki pages the
sort of hinted at how to do it, etc.
Anyway, I got this to work like this:
#
rm -rf bld lib
mkdir bld lib
cd bld
CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1" LDFLAGS=-ldl
../sqlite/configure \
--prefix=$HOME \
--disable-tcl \
--enable-load-extension \
--with-pic \
--enable-threadsafe \
--enable-tempstore \
make
make install
exit
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users