On 10/8/07, benrawk <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] pysqlite-2.3.5]# python setup.py build
> running build
> running build_py
> running build_ext
> building 'pysqlite2._sqlite' extension
> 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 -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/ -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:26:20: error: Python.h: No such file or directory
> src/connection.h:27:22: error: pythread.h: No such file or directory
> src/connection.h:28:26: error: structmember.h: No such file or
> directory


You're missing  the Python development header files.  Not sure how to tell
you exactly what to get, since I don't know what distribution you are
running.  For what it's worth on Ubuntu these files are packaged in the
python2.4-dev package.  Maybe that will give a clue for what you need to get
for whatever distro you are running?

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to