Installing for sqlite

Hai,
I am trying to install sqlite in asterisk. But i am not able to find the sqlite depend module for res_config_sqlite.c.I am already having sqlite3,but it is not taking. How to compile the res/res_config_sqlite in asterisk-1.6.1.1 ?

Are you aware that 1.6.1.1 is a very old minor version of a version on which all support has now ceased?

The normal reason for failing to build with a database is that you have the database runtime package, but not the database development package.