[PyKDE] Building latest of everything in Debian

Jim Bublitz jbublitz at nwinternet.com
Thu Aug 28 05:42:00 BST 2003


> I'm running a bastardised Libranet 2.8, and decided to get the 
> latest source of Qt, Python2.3, sip and PyQT, all with gcc 
> 3.3. A side effect is that a lot of libraries, headers, 
> binaries etc of previous versions are lying around on my
> system, so they could be picked up by mistakes in the build
> system. Qt and Python build perfectly, sip surprises me during
> "make":

> I thought a "make install" was the only one supposed to need
> root power,  and there should be a mention in the README about
> /usr/local/bin as the default destination. So, "make" as root
> works, but then PyQt breaks very quickly:

The most "natural" way to use qmake ends up creating make files 
that require root privileges. It may also have something to do 
with PyQt and sip being buildable on Linux, Windows and OSX. 
PyQt breaking should have nothing to do wcd qt && /usr/bin/make

> 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
> In file included from qtcmodule.cpp:160:
> sipqtQMutexLocker.h:39: error: syntax error before `*' token
> In file included from qtcmodule.cpp:192:
> sipqtQSemaphore.h:38: error: syntax error before `*' token
> In file included from qtcmodule.cpp:232:
> sipqtQThread.h:43: error: syntax error before `{' token
> sipqtQThread.h:47: error: destructors must be member functions
> sipqtQThread.h:60: error: syntax error before `private'
> sipqtQThread.h:62: error: syntax error before `&' token
> sipqtQThread.h:65: error: syntax error before `}' token
> sipqtQThread.h:67: error: syntax error before `*' token
> In file included from qtcmodule.cpp:253:
> sipqtQWaitCondition.h:39: error: syntax error before `*' token
> make[1]: *** [qtcmodule.o] Error 1
> make[1]: Leaving directory `/sda3/PyQt-x11-gpl-3.8/qt'
> make: *** [sub-qt] Error 2

> Any ideas? Thanks.



More information about the PyQt mailing list