no, i am not sure now. i tried on another computer and it doesn't work the same anymore, i think the
paramter.
anyway now i tried compiling and installing sqlite-3.7.13, i still got the error:Your SQLite version is too old. It must be at least 3.7.13. even when i removed the OS's sqlite.
this is the result when i installed sqlite from source and remove the OS's sqlite:
building 'apsw' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -Isrc -I/usr/include/python2.7 -c src/apsw.c -o build/temp.linux-x86_64-2.7/src/apsw.o
src/apsw.c:62:2: error: #error Your SQLite version is too old. It must be at least 3.7.13
In file included from /usr/include/python2.7/pyconfig.h:6:0,
from /usr/include/python2.7/Python.h:8,
from src/apsw.c:73:
/usr/include/python2.7/pyconfig-64.h:1170:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/assert.h:37:0,
from src/apsw.c:66:
/usr/include/features.h:164:0: note: this is the location of the previous definition
In file included from /usr/include/python2.7/pyconfig.h:6:0,
from /usr/include/python2.7/Python.h:8,
from src/apsw.c:73:
/usr/include/python2.7/pyconfig-64.h:1192:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
In file included from /usr/include/assert.h:37:0,
from src/apsw.c:66:
/usr/include/features.h:166:0: note: this is the location of the previous definition
In file included from src/apsw.c:140:0:
src/connection.c: In function ‘Connection_db_filename’:
src/connection.c:3227:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
src/apsw.c: In function ‘initapsw’:
src/apsw.c:1648:7: error: ‘SQLITE_CANTOPEN_ISDIR’ undeclared (first use in this function)
src/apsw.c:1648:7: note: each undeclared identifier is reported only once for each function it appears in
src/apsw.c:1703:7: error: ‘SQLITE_OPEN_MEMORY’ undeclared (first use in this function)
src/apsw.c:1773:7: error: ‘SQLITE_DBSTATUS_CACHE_WRITE’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1