[PyKDE] Problems in building PyKDE-3.5-2

Mateusz Korniak mateusz at ant.gliwice.pl
Tue Apr 15 16:44:01 BST 2003


I'm trying to build PyKDE-3.5.2 bindings to kde 3.1.1a (over qt 3.1.2)
I have alredy build with success 
PyQt snap20030413
sip snap20030405

but got stuck with KDE bindings *

Checking archive I step over:
http://mats.gmd.de/pipermail/pykde/2003-April/004997.html
"PyKDE-3.5-2 (...) isn't updated to work
with sip/PyQt snapshots later than 3/31 (there is a fix for that
detailed in an earlier msg on the list as well). "

Should I use release versions of PyQt and sip ? (I remember them having 
problems with building PyQt with qt 3.1.2). I am unable to find mentioned msg 
fixing that problem, either :( .
Any hints ? TIA

(*):
make[1]: Wchodzę do katalogu 
`/home/users/matkor/rpm/BUILD/PyKDE-3.5-2/kdecore'
g++ -c -pipe -w -O2 -march=i686 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions 
-I/usr/X11R6/share/qt/mkspecs/default -I. -I../extra/kde311 -I. 
-I/usr/include/python2.2 -I/usr/X11R6/include/qt -I/usr/X11R6/include 
-I/usr/X11R6/include/qt -o kdecorehuge.o kdecorehuge.cpp
sip/kcmdlineargs.sip: In function `struct PyObject * 
sipDo_KCmdLineArgs_init(PyObject *, PyObject *)':
sip/kcmdlineargs.sip:74: implicit declaration of function `int 
PyQtPyArgvToC(...)'
sip/kcmdlineargs.sip:74: assignment to `char **' from `int' lacks a cast
sip/kcmdlineargs.sip:86: implicit declaration of function `int 
PyQtUpdatePyArgv(...)'
sip/kcmdlineargs.sip:111: assignment to `char **' from `int' lacks a cast
sip/kapplication.sip: In function `struct PyObject * 
sipNew_KApplication(PyObject *, PyObject *)':
sip/kapplication.sip:65: assignment to `char **' from `int' lacks a cast
make[1]: *** [kdecorehuge.o] Błąd 1

make[1]: Wchodzę do katalogu `/home/users/matkor/rpm/BUILD/PyKDE-3.5-2/kdeui'
g++ -c -pipe -w -O2 -march=i686 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions 
-I/usr/X11R6/share/qt/mkspecs/default -I. -I../extra/kde311 -I. 
-I/usr/include/python2.2 -I/usr/X11R6/include/qt -I/usr/X11R6/include 
-I../dcop -I../kdecore -I/usr/X11R6/include/qt -o kdeuihuge.o kdeuihuge.cpp
sip/qxembed.sip: In function `struct PyObject * 
sipDo_QXEmbed_processClientCmdline(PyObject *, PyObject *)':
sip/qxembed.sip:68: implicit declaration of function `int PyQtPyArgvToC(...)'
sip/qxembed.sip:68: assignment to `char **' from `int' lacks a cast
sip/qxembed.sip:80: implicit declaration of function `int 
PyQtUpdatePyArgv(...)'
sip/klistview.sip: In function `static void sipKListView::sipVH_findDrop(const 
sipMethodCache *, sipThisType *, const QPoint &, QListViewItem *&, 
QListViewItem *&)':
sip/klistview.sip:251: `sipName_kdeui_KListView' undeclared (first use this 
function)
sip/klistview.sip:251: (Each undeclared identifier is reported only once
sip/klistview.sip:251: for each function it appears in.)
sip/klistview.sip:251: `sipName_kdeui_findDrop' undeclared (first use this 
function)
sip/keditlistbox.sip: In function `struct PyObject * 
sipDo_KEditListBox_insertStrList(PyObject *, PyObject *)':
sip/keditlistbox.sip:104: implicit declaration of function `int 
PyQtListToArray(...)'
sip/keditlistbox.sip:104: assignment to `const char **' from `int' lacks a 
cast
make[1]: *** [kdeuihuge.o] Błąd 1

g++ -c -pipe -w -O2 -march=i686 -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions 
-I/usr/X11R6/share/qt/mkspecs/default -I. -I../extra/kde311 -I. 
-I/usr/include/python2.2 -I/usr/X11R6/include/qt -I/usr/X11R6/include 
-I/usr/X11R6/include/kparts -I/usr/X11R6/include/kio -I../kdecore -I../kio 
-I/usr/X11R6/include/qt -o kpartshuge.o kpartshuge.cpp
sipkpartsKPartsPart.cpp: In method `void 
sipKParts_MainWindow::setInstance(KInstance *)':
sipkpartsKPartsPart.cpp:1817: no matching function for call to 
`sipKParts_PartBase::sipVH_setInstance (sipMethodCache *, sipThisType *&, 
KInstance *&)'
sipkpartsKPartsPartBase.h:59: candidates are: static void 
sipKParts_PartBase::sipVH_setInstance(const sipMethodCache *, sipThisType *, 
KInstance *, bool)
sipkpartsKPartsFactory.cpp: In method `void 
sipKParts_DockMainWindow::setInstance(KInstance *)':
sipkpartsKPartsFactory.cpp:2363: no matching function for call to 
`sipKParts_PartBase::sipVH_setInstance (sipMethodCache *, sipThisType *&, 
KInstance *&)'
sipkpartsKPartsFactory.cpp:1723: candidates are: static void 
sipKParts_PartBase::sipVH_setInstance(const sipMethodCache *, sipThisType *, 
KInstance *, bool)
make[1]: *** [kpartshuge.o] Błąd 1



PS. I don't have any knowladge about sip (as far - and I silently hope stay 
like that :) ) - I just wanted to be able tu use richness of QT/KDE classes 
from beauty of python, and googled over sip.

-- 
Mateusz Korniak
easy.com  easy.go




More information about the PyQt mailing list