[PyKDE] PyKDE-snapshot20050305 error

Jim Bublitz jbublitz at nwinternet.com
Tue Mar 8 21:48:53 GMT 2005


On Tuesday 08 March 2005 13:05, tony wrote:
> > Could I ask you a big favor? If you have some time, modify configure.py
> > to add the two print stmts shown:
> >
> > def check_distribution ():
> >     dist = glob.glob ("/etc/*-release")
> >     print "dist =", dist # <<=== add this print stmt
> >
> > (at original line 582 - probably 583 after adding the print above)
> >     argv.append(string.join(["sip", mname, mname + "mod.sip"], "/"))
> >
> > #    print string.join (argv)  <<=== uncomment this line
> >
> > and post the output of the print statements. You can create a temporary
> > directory for PyKDE to test this and terminate configure.py after the
> > kdeui code is created (where your error msg was above) - don't need to do
> > a complete rebuild.
> >
> > The D_MANDRAKE feature should be disabled (-x D_MANDRAKE should be in the
> > string formed from argv) and should do effectively the same thing you did
> > with '//'.
> >
> > Thanks,
> >
> > Jim
>
> No problem, here you are (the -x D_MANDRAKE doesn't appear):
>
> dist = ['/etc/mandrake-release', '/etc/redhat-release']
>
> Generating the C++ source for the kdeui module...
> /usr/bin/sip -x Qt_STYLE_WINDOWSXP -x Qt_STYLE_CDE -x
> Qt_STYLE_INTERLACE -x Qt_STYLE_MOTIF -x Qt_STYLE_MOTIFPLUS -x
> Qt_STYLE_PLATINUM -x Qt_STYLE_SGI -x Qt_STYLE_CDE -x
> Qt_STYLE_INTERLACE -x Qt_STYLE_MOTIF -x Qt_STYLE_MOTIFPLUS -x
> Qt_STYLE_PLATINUM -x Qt_STYLE_SGI -x Qt_STYLE_WINDOWSXP -x VendorID -t
> WS_X11 -t Qt_3_2_0 -t KDE_3_2_0 -j 2 -c kdeui -b kdeui/kdeui.sbf -I
> sip -I /usr/share/sip -I sip/dcop -I sip/kdecore -I sip/kdefx
> sip/kdeui/kdeuimod.sip
> Creating the Makefile for the kdeui module...

configure.py is only checking for 'Mandrake', not 'mandrake'. I'm pretty sure 
that's what my 9.x version provides (Mandrake-release). I'll modify it to 
check for both in the next snapshot.

Thanks for checking it out for me!

Jim




More information about the PyQt mailing list