Hi, 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/sipgen' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/misc/tar_balls/projects_related/sip-4.12.4/sipgen' 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 Contents of /usr/include/python2.7/ -rw-r--r-- 1 root root 1751 2010-12-22 14:22 ImPlatform.h -rw-r--r-- 1 root root 1317 2010-12-22 14:22 ImDib.h -rw-r--r-- 1 root root 19193 2010-12-22 14:22 Imaging.h -rw-r--r-- 1 root root 35791 2011-04-12 00:36 pyconfig.h So, I think Python.h file is not there under /usr/include/python2.7/ Hence the building failed. Anybody has encountered such error before ? Thank you, ~ Ashutosh Narayan _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers