[PyKDE] PyKDE on mandrake 10.1?

Knut Morten Johansson knutmj at online.no
Mon Nov 22 20:07:38 GMT 2004


I have problems building PyKDE 3.11.2 on mandrake 10.1(standard), and are 
wondering if someone have had any success? I'm wondering if I perhaps having 
problems caused by non compatible versions of PyQt and sip. I had to upgrade 
those to the latest release to get Eric working. And I have not upgraded KDE 
to anything new and unsupported by PyKDE so I don't think this should be the 
problem (if not mandrake has done something fancy). My setup are:
Python    2.3.4
Qt 		 3.3.3
sip            4.1.1 
PyQt        3.13
KDE         3.2.3

The compile bombs out in kdecore, see log below. 

As a side note, since I obviously have some kind of RPM fetish I have made mdk 
10.1 RPM's for sip, PyQt and eric. If anyone are interrested just drop me a 


make[1]: Entering directory `/usr/src/RPM/BUILD/PyKDE-3.11.3/kdecore'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer -pipe 
-march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include 
-I/usr/include/python2.3 -I/usr/lib/qt3//include -I/usr/X11R6/include -o 
sipkdecorepart0.o sipkdecorepart0.cpp
sip/kdecore/kmountpoint.sip: In function `PyObject* 
sip/kdecore/kmountpoint.sip:141: warning: taking address of temporary
sip/kdecore/kconfigskeleton.sip: In function `PyObject* 
meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)':
sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary
sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)':
sipkdecorepart0.cpp:28757: warning: unused variable 'sipCpp'
sip/kdecore/kconfigbase.sip: In function `PyObject* 
sip/kdecore/kconfigbase.sip:319: warning: unused variable 'LongLong'
/usr/include/kcatalogue.h: In function `PyObject* 
meth_KCatalogue_setFileName(PyObject*, PyObject*)':
/usr/include/kcatalogue.h:111: error: `void KCatalogue::setFileName(const 
QString&)' is private
sipkdecorepart0.cpp:88734: error: within this context
sip/kdecore/kwinmodule.sip: In function `PyObject* convertFrom_QValueList_2100
sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst'
sipkdecorepart0.cpp: At global scope:
sipkdecorepart0.cpp:28723: warning: unused parameter 'sipPy'
sipkdecorepart0.cpp:28723: warning: unused parameter 'sipIsErr'
sipkdecorepart0.cpp:79640: warning: unused parameter 'sipSelf'
make[1]: *** [sipkdecorepart0.o] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/PyKDE-3.11.3/kdecore'
make: *** [all] Error 2

More information about the PyQt mailing list