[BangPypers] Installation of SIP ( Python binding generator )

Ashutosh Narayan ashulinux at yahoo.com
Thu Aug 25 18:39:07 CEST 2011



 
~ Ashutosh



>________________________________
>From: Gora Mohanty <gora at mimirtech.com>
>To: Ashutosh Narayan <ashulinux at yahoo.com>; Bangalore Python Users Group - India <bangpypers at python.org>
>Sent: Thursday, August 25, 2011 10:01 PM
>Subject: Re: [BangPypers] Installation of SIP ( Python binding generator )
>
>On Thu, Aug 25, 2011 at 9:58 PM, Ashutosh Narayan <ashulinux at yahoo.com> 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.
>
>I am using Linux Mint 11, having Python 2.7.1+  [GCC 4.5.2]
>
>Yes, thanks Gora, I did so before reading your reply.
>
>Regards,
>Gora
>
>
>


More information about the BangPypers mailing list