[PyKDE] pyKDE compile error

webmaster webmaster at valclip.com
Wed Mar 17 00:23:00 GMT 2004


root at marialux PyKDE-3.8rc2 # python build.py -v /usr/share/sip/qt/



Building PyKDE 3.8 for Python 2.3.3 on linux2.
/usr/lib/python2.3/site-packages is the PyKDE installation directory.
/usr/lib/python2.3/config contains libpython
/usr/include/python2.3 contains Python.h.
/usr/local/bin/sip will be used as the SIP code generator.
/usr/include/python2.3 contains sipQt.h.
libqtcmodule.so found in /usr/lib/python2.3/site-packages
/usr/lib/python2.3/site-packages contains the SIP module.
/usr/qt/3 is the Qt base directory.
/usr/qt/3/include contains qglobal.h.
Qt 3.3.0 is being used.
/usr/kde/3.2 is the KDE base directory.
/usr/kde/3.2/include contains kdeversion.h.
KDE 3.1.3 is being used.
/usr/qt/3/bin/qmake will be used to generate Makefiles.
The libqt-mt.so.3.3 Qt library was found.
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 /usr/share/sip/qt/
PyQt sip file version is compatible with PyKDE-3.8
sip version is compatible with PyKDE-3.8
/usr/bin/make will be used as the make program.
Checking to see if the C++ compiler supports -fno-exceptions.
g++ -c -pipe -w -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-fno-exceptions -I/usr/qt/3/mkspecs/linux-g++ -I. -I. 
-I/usr/include/python2.3 -I/usr/kde/3.2/include -I/usr/qt/3/include -o 
qttest.o qttest.cpp
g++ -Wl,-rpath,/usr/qt/3/lib -o qttest qttest.o   -L/usr/qt/3/lib 
-L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
The C++ compiler supports -fno-exceptions.
Using existing features file.
Generating the Makefile for the pythonize module.
Generating the Makefile for the testPythonize module.
Generating the Makefile for the pykpanelapplet module.
Generating the C++ source for the dcop module.
sip: QStringList::__contains__() unsupported function return type - provide 
%MethodCode and a C++ signature
/usr/local/bin/sip failed with an exit code of 256.


An internal error occured.  Please report all the output from the program,
including the following traceback, to <jbublitz at nwinternet.com> and CC the
PyKDE mailing list: <pykde at mats.imk.fraunhofer.de>. Thanks.


Traceback (most recent call last):
  File "build.py", line 1830, in ?
    main(sys.argv)
  File "build.py", line 1784, in main
    generateSource(mname, plattag, qttag)
  File "build.py", line 1204, in generateSource
    runProgram (sipBin, argv)
  File "build.py", line 1621, in main
    nrcpu = int(os.environ["SMP"])
  File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'SMP'




More information about the PyQt mailing list