[PyKDE] QCString is undefined error
Antoni Aloy López
aloy at ctv.es
Sat Aug 10 22:01:01 BST 2002
Hi!
After patching the build.py file to locate my Qt/sip and to correct the
version bug and after installing the tmake I have tried to build the new
PyKde, but I get this error message:
Generating the C++ source for the dcop module.
sip: QCString is undefined
******************************************************************************
Error: /usr/bin/sip failed with an exit code of 256 -- from line 1116 in
build.py
******************************************************************************
My TMAKEPATH points to /usr/lib/tmake/linux-g++/ and I'm using Gentoo Linux.
Any ideas?
The full log follows:
PyKDE-3.3.2 $ python build.py -l qt-mt -c
Building PyKDE 3.3 for Python 2.2.1 on linux2.
/usr/lib/python2.2/site-packages is the PyKDE installation directory.
/usr/include/python2.2 contains Python.h.
/usr/bin/sip will be used as the SIP code generator.
/usr/include/python2.2 contains sipQt.h.
/usr/lib/python2.2/site-packages contains the SIP module.
/usr/qt/3 is the Qt base directory.
/usr/qt/3/include contains qglobal.h.
Qt 3.0.5 is being used.
/usr/kde/3 is the KDE base directory.
/usr/kde/3/include contains kdeversion.h.
KDE 3.0.2 is being used.
/usr/bin/tmake will be used to generate Makefiles.
Qt thread support is enabled.
Qt and KDE use compatible libs (threading)
found libs for modules:
dcop kdecore kdesu kdefx kdeui kio kfile (kio) kparts khtml kjs kspell
kdeprint
PyQt/sip directory found at /feina/downloads/PyQt/sip
/usr/bin/make will be used as the make program.
Checking to see if the C++ compiler supports -fno-exceptions.
g++ -c -pipe -O2 -D_REENTRANT -DQT_THREAD_SUPPORT -DNO_DEBUG -fno-exceptions
-I. -I/usr/include/python2.2 -I/usr/kde/3/include -I/usr/qt/3/include -o
qttest.o qttest.cpp
g++ -o qttest qttest.o -L/usr/qt/3/lib -L/usr/X11R6/lib -lpthread -lqt-mt
-lXext -lX11 -lm
The C++ compiler supports -fno-exceptions.
Using existing features file.
Copying sip module files for version KDE302 to sip directory
Copying version specific h files for KDE302 to extraH directory
Generating the C++ source for the dcop module.
sip: QCString is undefined
******************************************************************************
Error: /usr/bin/sip failed with an exit code of 256 -- from line 1116 in
build.py
******************************************************************************
--
Antoni Aloy López
Binissalem - Mallorca
Linux Registered User # 210825
Gentoo Powered
More information about the PyQt
mailing list