On Thu, Aug 25, 2011 at 9:58 PM, Ashutosh Narayan <[email protected]> wrote:
[...]
> I have downloaded SIP tar file :sip-4.12.4.tar.gz
> While building it using "make" I encountered the following error :
[...]
> make[1]: Entering directory 
> `/misc/tar_balls/projects_related/sip-4.12.4/siplib'
> gcc -c -pipe -fPIC -O2 -w -DNDEBUG -I. -I/usr/include/python2.7 -o siplib.o 
> siplib.c
> siplib.c:20:20: fatal error: Python.h: No such file or directory
> compilation terminated.
> make[1]: *** [siplib.o] Error 1
> make[1]: Leaving directory 
> `/misc/tar_balls/projects_related/sip-4.12.4/siplib'
> make: *** [all] Error 2
[...]

You are probably missing the Python development files.
What OS are you using? If it is Debian/Ubuntu, you would
need to install the python-dev package.

Regards,
Gora
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to