[PyKDE] PyKDE-3.3.2-2 build problems on stock Red Hat 7.3 sy
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
> KFileListViewItem::KFileListViewItem(QListView *parent, KFileItem
> (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).
> I can provide patches if needed, but the changes are trivial &
> I'm not in Linux at the moment. Hope this helps.
More information about the PyQt