[PyKDE] PyKDE 3.11.3 Release: rh90/rhel3 build failures

Jim Bublitz jbublitz at nwinternet.com
Fri Aug 27 19:46:25 BST 2004


On Friday 27 August 2004 09:47, Rex Dieter wrote:
> Jim Bublitz wrote:
> > The PyKDE 3.11.3 release should be up at riverbankcomputing.co.uk within
> > the next day or so.
> >
> > This release has only 2 significant changes:
> >
> > 1. Fixed enum in khtml_part.sip that caused build problems for KDE 3.3.0
> > with sip 3.10.2 (sip 4 worked OK).
>
> I'm seeing a PYKDE 3.11.3 build failure against kde-3.3.0 on redhat-9,
> redhat enterprise linux 3, with the same error (see below).  For the
> record, PyKDE-3.11.1 built fine on/for kde-3.2.3.

Nope - different problem (the one that was fixed hides this problem).

> Suggestions?

See below.

> ...
>      PyKDE version 3.11.3
>             -------
> Python include directory is /usr/include/python2.2
> Python version is 2.2.2
> sip version is 3.10.2 (3.10.2)
> Qt directory is /usr/lib/qt-3.3
> Qt version is 3.3.2
>                ^^^^^
> ## I have qt-3.3.3 installed, if that makes any difference

I get that too - either we didn't rebuild PyQt or Qt reports its version wrong 
(sip, PyQt, and PyKDE all cache some config data now, but each "recomputes" 
its own data when built). However, I'm pretty sure I built PyQt after 
installing Qt 3.3.3, since the setup is on a clean partition. Shouldn't make 
a difference.

> PyQt directory is /usr/share/sip
> PyQt version is 3.12 (3.12.0)
> KDE base directory is /usr
> KDE include directory is /usr/include/kde
> KDE lib directory is /usr/lib
> KDE version is 3.3.0 (0x30300)
> PyKDE modules will be installed in /usr/lib/python2.2/site-packages
> PyKDE .sip files will be installed in /usr/share/sip
> ...
>
> make[2]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11.3/kdeui'
> g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -w -D_REENTRANT
> -DQT_NO_DEBUG -DQT_THREAD_SUP
> PORT -I. -I../extra/kde330 -I/usr/include/kde -I/usr/include/python2.2
> -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o
>   kdeuipart0.o kdeuipart0.cpp
> In file included from sipkdecoreKConfigBackEnd.h:31,
>                   from sipkdecoreKConfig.h:31,
>                   from sipkdecoreKStandardDirs.h:31,
>                   from sipkdecoreKIconLoader.h:30,
>                   from sipkdecoreKMimeSourceFactory.h:30,
>                   from sipkdecoreKInstance.h:32,
>                   from sipkdeuiKActionCollection.h:31,
>                   from sipkdeuiKAction.h:32,
>                   from sip/kdeui/kxmlguifactory.sip:96,
>                   from sip/kdeui/kxmlguifactory.sip:27,
>                   from kdeuipart0.cpp:22:
> sip/kdecore/klockfile.sip:75:33: sipkdecoreKLockFile.h: No such file or
> directory

change line 75 to:

#include <../kdecore/sipkdecoreKLockFile.h>

In other words, add the "../kdecore/". It's a difference between sip3 and sip4 
in how they generate sip*.h files when generating code.

I'll see if I can get a sip3/KDE3.3.0 test setup going and see if there's any 
more of these - hopefully not. I'll release an update next week.

Jim




More information about the PyQt mailing list