[PyKDE] PyKDE 3.11 snapshot

Jim Bublitz jbublitz at nwinternet.com
Thu Apr 22 22:35:01 BST 2004


On Thursday April 22 2004 12:45, Simon Edwards wrote:
> On Thursday 22 April 2004 05:55, Jim Bublitz wrote:
> > I'm finishing a couple of test builds for PyKDE-3.11alpha5
> > and assuming those work OK, I'll be sending a tarball to
> > Phil to put up either on the PyKDE page or in a PyKDE
> > snapshot directory.
>
> Yay!
>
> This is what I got on Mandrake 10.0, KDE 3.2, SIP 3.10.1, PyQt
> 3.11:
>
> make[1]: Entering directory
> `/home/sbe/worktmp/PyKDE-3.11alpha5/khtml' g++ -c -pipe -fPIC
> -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -w
> -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
> -I../extra/kde320 -I/usr/include -I/usr/include/kio -I../kio
> -I/usr/include/kparts -I/usr/include/dom
> -I/usr/include/python2.3 -I/usr/lib/qt3//include
> -I/usr/X11R6/include -o khtmlpart0.o khtmlpart0.cpp
> khtmlpart0.cpp: In function `PyObject*
> sipDo_DOM_Event_eventModuleName(PyObject*, PyObject*)':
> khtmlpart0.cpp:54901: error: `eventModuleName' undeclared
> (first use this function)
> khtmlpart0.cpp:54901: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> make[1]: *** [khtmlpart0.o] Error 1
> make[1]: Leaving directory
> `/home/sbe/worktmp/PyKDE-3.11alpha5/khtml'
>
> I'll have a dig around here and try to find out where
> eventModuleName went.

This looks like a case of "backporting".  In the "official" 
sources (from kde.org), eventModuleName() is in 3.2.0 but not 
3.2.1 or greater. There should already be a %If wrapping it - 
just change the "KDE_3_2_1" to "KDE_3_2_0" and it should work.

I'll make that change to the PyKDE sources - it's not likely to 
be an important method call.

PS: you can run

   python configure.py -lkhtml: && make

(lower case L switch) to avoid having to rebuild/recompile the 
earlier modules. It's not a documented feature because it won't 
always yield correct results (doesn't take linking into account, 
but you haven't linked any downstream modules yet). If you leave 
off the ":", only khtml will rebuild, which would be OK in this 
case too (everything else will still compile).

Jim




More information about the PyQt mailing list