Trying to create an SQLite module in with pecl resulted in
/tmp/tmpb8wKoA/SQLite-1.0.3/sqlite.c -fPIC -DPIC -o .libs/sqlite.o
/tmp/tmpb8wKoA/SQLite-1.0.3/sqlite.c:56: error: ‘BYREF_NONE’ undeclared here (not in a function)
/tmp/tmpb8wKoA/SQLite-1.0.3/sqlite.c:56: error: ‘BYREF_FORCE’ undeclared here (not in a function)
/tmp/tmpb8wKoA/SQLite-1.0.3/sqlite.c:125: warning: initialization from incompatible pointer type
/tmp/tmpb8wKoA/SQLite-1.0.3/sqlite.c:126: warning: initialization from incompatible pointer type
make: *** [sqlite.lo] Error 1
ERROR: `make’ failed
Ug. Pain in the butt, but I did find a workaround….