[PyKDE] PyKDE-3.3.2-2 build problems on stock Red Hat 7.3 sy

Jim Bublitz jbublitz at nwinternet.com
Tue Aug 27 08:02:00 BST 2002


On 26-Aug-02 Alex Willmer wrote:
> Sorry for leaving so long before I replied to this thread, I'va
> also been working on this, but on Mandrake 8.2. My system is
> definately KDE 3.0.1, and I received the same error.

My guess would be that Mandrake 8.2 is based on RH 7.3 and would
therefore have the same version problem - RH changed the version
numbers (3.0.0 -> 3.0.1) on KDE 3.0.0. I've had that confirmed by
RH and it was posted to the list a while ago. the problem was noted
before KDE 3.0.1 was released.
 
> As far as I can tell KDE 3.0.1 doesn't include KURL::htmlURL(),

My copy of the kdelibs source for 3.0.1 does, I just checked again.

> this wasn't introduced until 3.0.2. However in the PyKDE sip
> files (kurl.sip, kfileiconview.sip, kfiledetailview.sip) this
> and the two constructors  below are included for version 3.0.1.
 
> KFileIconViewItem::KFileIconViewItem(QIconView *parent, KFileItem
> *fi)
> KFileListViewItem::KFileListViewItem(QListView *parent, KFileItem
> *fi)
 
> (I think these might have been the cause of the further problems
> you reported Jonathon).
 
> Changing the %if KDE_3_0_1 lines to %if KDE_3_0_2 allows me to
> compile without error.

That'll probably work too - you're effectively moving the sip files
back to 3.0.0 by versioning out the 3.0.1 changes. It's easier to
correct kdeversion.h in the KDE includes, which is where the error
is. It should be KDE_VERSION = 300 and KDE_RELEASE = 0.
 
> I may be completely wrong, I'm still having a few problems which
> might have been caused by my guess work, but these pages seem to
> confirm my theory (apologies for the long urls).
 
> http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdecore/kurl.h.di
> ff?r1=1.92%3AKDE_3_0_1_RELEASE&tr1=1.1&r2=1.92.2.1%3AKDE_3_0_2_REL
> EASE&tr2=1.96&diff_format=h
> 
> http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kio/kfile/kfileic
> onview.h.diff?r1=1.28.2.2%3AKDE_3_0_1_RELEASE&tr1=1.1&r2=1.28.2.3%
> 3AKDE_3_0_2_RELEASE&tr2=1.33&diff_format=h
> 
> http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kio/kfile/kfilede
> tailview.h.diff?r1=1.25.2.1%3AKDE_3_0_1_RELEASE&tr1=1.1&r2=1.25.2.
> 2%3AKDE_3_0_2_RELEASE&tr2=1.25.2.2&diff_format=h
 
> I can provide patches if needed, but the changes are trivial &
> I'm not in Linux at the moment. Hope this helps.

Jim




More information about the PyQt mailing list