[PyQt] ANN: SIP v4.10.4 and New PyQt Installer for Python v2.7 Released

Markos Chandras hwoarang at gentoo.org
Fri Jul 16 15:19:01 BST 2010


On Fri, Jul 16, 2010 at 04:05:36PM +0200, Jan Haag wrote:
> > Hi, just a short notice. sip-4.10.4 doesn't build with Python3
> 
> On which OS/Arch?
> 
> If it's Linux or the like the output of
> 
> uname -a
> 
Gentoo Linux
> in a terminal session should give you this information.
> 
> Besides, in your message you cut off the offending make line half way
> through...
Here is the full error log

x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o siplib.o siplib.c
x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o apiversions.o apiversions.c
x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o descriptors.o descriptors.c
x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o qtlib.o qtlib.c
x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o threads.o threads.c
x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o objmap.o objmap.c
x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -ggdb -fPIC -O2 -w -DNDEBUG
-I. -I/usr/include/python3.1 -o voidptr.o voidptr.c
voidptr.c:312: error: ‘sipVoidPtr_ascapsule’ undeclared here (not in a
function)
make[1]: *** [voidptr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
make: *** [all] Error 2

> 
> Interestingly, it fails with (seemingly) the same error message after a
> few compilation steps on Mac 10.6.3/i386 (see below).
> I used the default settings for configure.py, except overriding the
> build architecture to i386, obviously.
> 
> As far as I can make sense of it (my C is somewhat rusty) the problem is
> that the definition of sipVoidPtr_ascapsule is protected by
> #if defined(SIP_USE_PYCAPSULE)
> [...]
> #endif
Afaik, this is available to Python>=3.1 as well
> while the pointer used in the PyMethodDef is not.
> 
> Jan
> 
> ---------------------- Output of failed make run -----------------------
> 
> [...]
> 
> cc -c -pipe -fPIC -arch i386 -Os -w -DNDEBUG -I.
> -I/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 -o
> voidptr.o voidptr.c
> voidptr.c:312: error: ‘sipVoidPtr_ascapsule’ undeclared here (not in a
> function)

> pub  4096R/1665A74C 2010-05-03 Jan Haag (This key should be used for authentication only.) <haag498 at gmail.com>
> sub  4096R/91A7A753 2010-05-03




> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


-- 
Markos Chandras (hwoarang)
Gentoo Linux Developer
Web: http://hwoarang.silverarrow.org
Key ID: 441AC410
Key FP: AAD0 8591 E3CD 445D 6411 3477 F7F7 1E8E 441A C410
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100716/917f21b2/attachment.pgp>


More information about the PyQt mailing list