Dnia 06/13/2006 08:52 PM, Użytkownik Gerhard Häring napisał: > pysqlite 2.3.0 released
Great :) I have one more problem, though. It does not compile: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include -I/usr/include/python2.4 -c src/connection.c -o build/temp.linux-i686-2.4/src/connection.o src/connection.c:31:26: error: sqlitecompat.h: No such file or directory src/connection.c: In function '_set_result': src/connection.c:404: error: 'Py_ssize_t' undeclared (first use in this function) src/connection.c:404: error: (Each undeclared identifier is reported only once src/connection.c:404: error: for each function it appears in.) src/connection.c:404: error: expected ';' before 'buflen' src/connection.c:417: error: 'buflen' undeclared (first use in this function) src/connection.c: In function '_build_py_params': src/connection.c:443: error: 'Py_ssize_t' undeclared (first use in this function) src/connection.c:443: error: expected ';' before 'buflen' src/connection.c:472: error: 'buflen' undeclared (first use in this function) error: command 'gcc' failed with exit status 1 I had to manually download this file → http://www.initd.org/tracker/pysqlite/browser/pysqlite/tags/2.3.0/src/sqlitecompat.h Why it's not included in the tarball? Regards, Dawid -- ^_* -- http://mail.python.org/mailman/listinfo/python-list