[PyQt] SIP 4.8.2 And Snow Leopard

Thomas Mansencal kelsolaar_fool at hotmail.com
Fri Sep 4 08:04:21 BST 2009


Hello,

I'm trying to Build SIP 4.8.2 on Snow Leopard to update all my PyQt  
Installation and I'm encountering an error during the Make.
Here is the Configure part :

Lilith:sip-4.8.2 KelSolaar$ python configure.py
This is SIP 4.8.2 for Python 2.6.2 on darwin.
The SIP code generator will be installed in
/Library/Frameworks/Python.framework/Versions/2.6/bin.
The SIP module will be installed in
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- 
packages.
The SIP header file will be installed in
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6.
The default directory to install .sip files in is
/Library/Frameworks/Python.framework/Versions/2.6/share/sip.
The platform/compiler configuration is macx-g++.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

and the Make :

Lilith:sip-4.8.2 KelSolaar$ make
cc -c -pipe -Os -w -DNDEBUG -I. -o lexer.o lexer.c
lexer.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before ':' token
lexer.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before '-' token
lexer.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before '-' token
lexer.c:33:9: error: invalid suffix "bit" on integer constant
lexer.c:34:9: error: invalid suffix "bit" on integer constant
lexer.c:44: error: stray '#' in program
lexer.c:45: error: stray '#' in program
make[1]: *** [lexer.o] Error 1
make: *** [all] Error 2

if someone has an idea or whatever could be the source of that.

KS


More information about the PyQt mailing list