[PyKDE] PyKDE-3.11rc1 build failure (against kdelibs-3.2.3)

Rex Dieter rdieter at math.unl.edu
Wed Jun 2 17:58:01 BST 2004

Jim Bublitz wrote:
> On Wednesday 02 June 2004 08:17, Rex Dieter wrote:
>>Rex Dieter wrote:
>>>>Additionally, you may try this:
>>>>for i in $(find sip -name \*-kde322.diff); do
>>>>    cp $i $(echo $i | sed "s|kde322|kde323|g")
>>>>cp -a extra/kde322 extra/kde323
>>>thanks, that appears to have done the trick
>>Spoke too soon... build fails later now.  (kdelibs-3.2.3, rh90, gcc-3.2.2):
>>make[1]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11rc1/dcop'
>>make[1]: `libdcopcmodule.so' is up to date.
>>make[1]: Leaving directory `/usr/local/tmp/BUILD/PyKDE-3.11rc1/dcop'
>>make[1]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11rc1/kdecore'
>>g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=i386
>>-I../extra/kde323 -I/usr/include/kde -I/usr/include/python2.2
>>-I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o kdecorepart0.o
>>/usr/lib/qt-3.3/include/qptrlist.h: In member function `void
>>    QPtrList<type>::deleteItem(void*) [with type = KIconThemeDir]':
>>kdecorepart0.cpp:104810:   instantiated from here
>>/usr/lib/qt-3.3/include/qptrlist.h:150: invalid use of undefined type
>>    KIconThemeDir'
>>../extra/kde323/kicontheme.h:23: forward declaration of `struct
>>make[1]: *** [kdecorepart0.o] Error 1
>>make[1]: Leaving directory `/usr/local/tmp/BUILD/PyKDE-3.11rc1/kdecore'
> All you need to do is edit extra/kde323/kicontheme.h and comment out the two 
> lines that reference KIconThemeDir (one forward declaration near the 
> beginning, and a private variable declaration near the end of the file).

Turns out the build fails on rh90/gcc-3.2.2 with kdelibs-3.2.2 as well, 
so it appears to not be an issue specific to kde-3.2.3.

-- Rex

More information about the PyQt mailing list