Hi Cyrus, it shows up as follows after typing "python setup.py build" in pysqlite directory. --- running build running build_py running build_ext building 'pysqlite2._sqlite' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/local/include -I/usr/include/python2.4 -c src/module.c -o build/temp.linux-i686-2.4/src/module.o In file included from src/module.c:24: src/connection.h:33:21: sqlite3.h: No such file or directory In file included from src/module.c:24: src/connection.h:38: error: syntax error before "sqlite3" src/connection.h:38: warning: no semicolon at end of struct or union src/connection.h:109: error: syntax error before '}' token src/connection.h:109: warning: type defaults to `int' in declaration of `Connection' src/connection.h:109: warning: data definition has no type or storage class src/connection.h:114: error: syntax error before '*' token src/connection.h:115: error: syntax error before '*' token src/connection.h:116: error: syntax error before '*' token src/connection.h:117: error: syntax error before '*' token src/connection.h:118: error: syntax error before '*' token src/connection.h:119: error: syntax error before '*' token src/connection.h:120: error: syntax error before '*' token src/connection.h:122: error: syntax error before '*' token src/connection.h:124: error: syntax error before '*' token src/connection.h:125: error: syntax error before '*' token In file included from src/module.c:25: src/statement.h:29:21: sqlite3.h: No such file or directory In file included from src/module.c:25: src/statement.h:37: error: syntax error before "sqlite3" src/statement.h:37: warning: no semicolon at end of struct or union src/statement.h:38: warning: type defaults to `int' in declaration of `st' src/statement.h:38: warning: data definition has no type or storage class src/statement.h:42: error: syntax error before '}' token src/statement.h:42: warning: type defaults to `int' in declaration of `Statement' src/statement.h:42: warning: data definition has no type or storage class src/statement.h:46: error: syntax error before '*' token src/statement.h:47: error: syntax error before '*' token src/statement.h:49: error: syntax error before '*' token src/statement.h:50: error: syntax error before '*' token src/statement.h:52: error: syntax error before '*' token src/statement.h:53: error: syntax error before '*' token src/statement.h:54: error: syntax error before '*' token src/statement.h:55: error: syntax error before '*' token In file included from src/module.c:26: src/cursor.h:35: error: syntax error before "Connection" src/cursor.h:35: warning: no semicolon at end of struct or union src/cursor.h:42: error: syntax error before '*' token src/cursor.h:42: warning: type defaults to `int' in declaration of `statement' src/cursor.h:42: warning: data definition has no type or storage class src/cursor.h:46: error: syntax error before '}' token src/cursor.h:46: warning: type defaults to `int' in declaration of `Cursor' src/cursor.h:46: warning: data definition has no type or storage class src/cursor.h:56: error: syntax error before '*' token src/cursor.h:57: error: syntax error before '*' token src/cursor.h:58: error: syntax error before '*' token src/cursor.h:59: error: syntax error before '*' token src/cursor.h:60: error: syntax error before '*' token src/cursor.h:61: error: syntax error before '*' token src/cursor.h:62: error: syntax error before '*' token src/cursor.h:63: error: syntax error before '*' token src/cursor.h:64: error: syntax error before '*' token src/cursor.h:65: error: syntax error before '*' token src/cursor.h:66: error: syntax error before '*' token In file included from src/module.c:29: src/microprotocols.h:55: error: syntax error before '*' token src/module.c: In function `module_complete': src/module.c:90: warning: implicit declaration of function `sqlite3_complete' src/module.c: In function `init_sqlite': src/module.c:294: warning: implicit declaration of function `sqlite3_libversion' src/module.c:294: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast error: command 'gcc' failed with exit status 1 that means I need to install something for sqlite3? thx Julia