[PyKDE] Building latest of everything in Debian

Ricardo Javier Cardenes Medina rcardenes at debian.org
Sat Aug 30 04:40:00 BST 2003


On Fri, Aug 29, 2003 at 08:26:01PM +0100, Chris Hart wrote:
> >
> > > cd qt && /usr/bin/make -f Makefile
> > > make[1]: Entering directory `/sda3/PyQt-x11-gpl-3.8/qt'
> > > g++ -c -pipe -w -O2 -fPIC  -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
> > > -DQT_SHARED -I/usr/local/qt/mkspecs/default -I. -I.
> > > -I/usr/include/python2.3 -I/usr/local/qt/include -o qtcmodule.o
> > >  qtcmodule.cpp
> > > In file included from qtcmodule.cpp:159:
> > > sipqtQMutex.h:38: error: syntax error before `*' token
> 
> Thanks for the input, but for all my efforts I am still not able to find any 
> missing or troublesome headers that stop me from building PyQt. I have 
> verifies that only the most current sip (3.8) is in the path of my system. If 
> there is a way to "merge" the sip and PyQt trees and buid them together I'd 
> like to here it. Perhaps PyQt should have a --sipdir= configuration option?
> Thanks,
> 

Mmmh... I've been looking at the offending code, and it seems like if
sip had generated "threading aware" code (including QMutex, etc), but
the there's no -DQT_THREAD_SUPPORT there, so the appropriate code blocks
at the threading headers are not being included, and therefore the
errors. (Not that I know why it's happening)




More information about the PyQt mailing list