Installing SIP on Mac OS X 10.6.6
Created originally on Bitbucket by shanperk782
Newbie here. Cannot get SIP to make or sudo make install using terminal 2.1.1. on Python v2.6 {{{ $ python configure.py (I have also tried - $ python configure.py -d/library/python/2.6/site-packages) This is SIP 4.12.1 for Python 2.6.1 on darwin. The SIP code generator will be installed in /System/Library/Frameworks/Python.framework/Versions/2.6/bin. The sip module will be installed in /Library/Python/2.6/site-packages. The sip.h header file will be installed in /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6. The default directory to install .sip files in is /System/Library/Frameworks/Python.framework/Versions/2.6/share/sip. The platform/compiler configuration is macx-g++. Creating siplib/sip.h... Creating siplib/siplib.c... Creating siplib/siplib.sbf... Creating sipconfig.py... Creating top level Makefile... Creating sip code generator Makefile... Creating sip module Makefile...
This seems to be fine, but when I try to make I get the following error messages: $make make[1]: Nothing to be done for `all'. cc -c -pipe -fPIC -Os -w -DNDEBUG -I. -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -o siplib.o siplib.c siplib.c:20:20: error: Python.h: No such file or directory In file included from siplib.c:28: sip.h:50:2: error: #error "This version of SIP requires Python v2.3 or later" In file included from siplib.c:28: sip.h:315: error: syntax error before ‘PyObject’ sip.h:318: error: syntax error before ‘visitproc’ sip.h:324: error: syntax error before ‘’ token sip.h:325: error: syntax error before ‘’ token sip.h:330: error: syntax error before ‘’ token sip.h:331: error: syntax error before ‘’ token sip.h:331: error: syntax error before ‘PyObject’ sip.h:332: error: syntax error before ‘PyObject’ sip.h:337: error: syntax error before ‘’ token sip.h:338: error: syntax error before ‘PyObject’ sip.h:339: error: syntax error before ‘’ token sip.h:339: error: syntax error before ‘PyObject’ sip.h:340: error: syntax error before ‘PyObject’ sip.h:351: error: syntax error before ‘PyHeapTypeObject’ sip.h:361: error: syntax error before ‘}’ token sip.h:368: error: syntax error before ‘PyObject_HEAD’ sip.h:383: error: syntax error before ‘’ token sip.h:386: error: syntax error before ‘’ token sip.h:389: error: syntax error before ‘’ token sip.h:393: error: syntax error before ‘}’ token sip.h:401: error: syntax error before ‘sipSimpleWrapper’ sip.h:414: error: syntax error before ‘}’ token sip.h:426: error: syntax error before ‘PyHeapTypeObject’ sip.h:430: error: syntax error before ‘}’ token sip.h:672: error: syntax error before ‘PyMethodDef’ sip.h:682: error: syntax error before ‘’ token sip.h:686: error: syntax error before ‘}’ token sip.h:698: error: syntax error before ‘sipVariableGetterFunc’ sip.h:701: error: conflicting types for ‘vd_setter’ sip.h:679: error: previous declaration of ‘vd_setter’ was here sip.h:705: error: syntax error before ‘}’ token sip.h:733: error: syntax error before ‘PyTypeObject’ sip.h:735: error: syntax error before ‘}’ token sip.h:736: error: syntax error before ‘}’ token sip.h:760: error: syntax error before ‘PyMethodDef’ sip.h:772: error: syntax error before ‘*’ token }}} These errors continue through 13000 or so. What am I missing? What else do you need to know? I have downloaded Qt4.7, PyQt 4.8.3, Qscintilla 2.4.6, sip4.12.1, sip4.12.2, and mercurial 1.8.
Please help. Thank You.