Emmanuel C added the comment:
Sorry guy,
I've found my error : I have to use the CPPFLAGS instead of the CFLAGS in order
to include sqlite3 into my own Python compiled installation.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
New submission from Emmanuel Coirier :
When compiling sqlite with a specific prefix, Python compilation process is
unable to find sqlite despite CFLAGS and LDFLAGS environment variable correctly
set.
The problem is in the setup.py, in the detect_modules function or the
detect_sqlite