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

Jim Bublitz jbublitz at nwinternet.com
Sun Aug 25 01:47:00 BST 2002


On 24-Aug-02 Jonathan Gardner wrote:
> I also examined /usr/include/kde/kdeversion.h. What I found was a
> bit disturbing:
 
>#define KDE_VERSION 301
>#define KDE_VERSION_STRING "3.0.0-10"
>#define KDE_VERSION_MAJOR 3
>#define KDE_VERSION_MINOR 0
>#define KDE_VERSION_RELEASE 1
 
> So, someone's bright idea is to make version "3.0.0-10" the same
> as "3.0.1". 
> Cute.
 
> This triggers build.py to believe that I am really running KDE
> 3.0.1, which I 
> am not (otherwise I would have htmlURL defined, right?)
 
> So I tinkered around, and manually removed the htmlURL part from
> the sip/kurl.sip file. However, recompiling everything, I only
> ran into more problems... this is not the way to go...
 
> So what I did next is I changed /usr/include/kde/kdeversion.h so
> that it read  thus:
 
>#define KDE_VERSION 300
>#define KDE_VERSION_STRING "3.0.0-10"
>#define KDE_VERSION_MAJOR 3
>#define KDE_VERSION_MINOR 0
>#define KDE_VERSION_RELEASE 0
 
> And, gratefully, everything worked.
 
> I am appending a file that may be added to the distribution -
> README.RedHat7.3
 
> I am writing a patch that will allow you to specify the
> kdeversion manually.  I'll submit this after I get the first
> RPM up.

Ack! the info I had was that KDE_VERSION was wrong, but
MAJOR/MINOR/RELEASE were correct (or maybe that's the next
release). build.py checks MAJOR/MINOR/RELEASE at the moment and
assembles the version from that. Thought I had it fixed, so didn't
add a note in README. That'll teach me.


Jim




More information about the PyQt mailing list