~/pysqlite-2.1.3 # python setup.py build
---------------------------------------------------------------------------
This script requires setuptools version 0.6a9 to run (even to display
help). I will attempt to download it for you (from
http://cheeseshop.python.org/packages/2.4/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.
---------------------------------------------------------------------------
Downloading http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6a9-py2.4.egg
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/pysqlite2
copying pysqlite2/dbapi2.py -> build/lib.linux-x86_64-2.4/pysqlite2
copying pysqlite2/__init__.py -> build/lib.linux-x86_64-2.4/pysqlite2
creating build/lib.linux-x86_64-2.4/pysqlite2/test
copying pysqlite2/test/dbapi.py -> build/lib.linux-x86_64-2.4/pysqlite2/test
copying pysqlite2/test/userfunctions.py -> build/lib.linux-x86_64-2.4/pysqlite2/test
copying pysqlite2/test/types.py -> build/lib.linux-x86_64-2.4/pysqlite2/test
copying pysqlite2/test/factory.py -> build/lib.linux-x86_64-2.4/pysqlite2/test
copying pysqlite2/test/transactions.py -> build/lib.linux-x86_64-2.4/pysqlite2/test
copying pysqlite2/test/__init__.py -> build/lib.linux-x86_64-2.4/pysqlite2/test
running build_ext
building 'pysqlite2._sqlite' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -g -fPIC -DPYSQLITE_VERSION="2.1.3" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4 -I/usr/local/include -I/usr/include/python2.4 -c src/module.c -o build/temp.linux-x86_64-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:83: error: syntax error before '}' token
src/connection.h:83: warning: type defaults to `int' in declaration of `Connection'
src/connection.h:83: warning: data definition has no type or storage class
src/connection.h:88: error: syntax error before '*' token
src/connection.h:89: error: syntax error before '*' token
src/connection.h:90: error: syntax error before '*' token
src/connection.h:91: error: syntax error before '*' token
src/connection.h:92: error: syntax error before '*' token
src/connection.h:93: error: syntax error before '*' token
src/connection.h:94: error: syntax error before '*' token
src/connection.h:96: error: syntax error before '*' token
src/connection.h:98: error: syntax error before '*' token
src/connection.h:99: 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:41: error: syntax error before '}' token
src/statement.h:41: warning: type defaults to `int' in declaration of `Statement'
src/statement.h:41: warning: data definition has no type or storage class
src/statement.h:45: error: syntax error before '*' token
src/statement.h:46: error: syntax error before '*' token
src/statement.h:48: 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:51: 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:93: warning: implicit declaration of function `sqlite3_complete'
src/module.c: In function `init_sqlite':
src/module.c:258: warning: implicit declaration of function `sqlite3_libversion'
src/module.c:258: warning: passing arg 1 of `PyString_FromString' makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1