On Thursday December 11 2003 06:13, Simone Piunno wrote:

> sip code generator path (sip) is /usr/local/bin
> sip version is 3.8
> sip lib directory (libsip*) is
> /usr/lib/python2.3/site-packages sip include directory
> (sipQt.h) is /usr/include/python2.3

> PyQt lib directory is /usr/lib/python2.3/site-packages
> PyQt lib version is 3.8
> PyQt sip files directory is /usr/share/PyQt-x11-gpl-3.8/sip
> PyQt sip version is 3.8.0

> Generating the C++ source for the dcop module.
> sip: /usr/share/PyQt-x11-gpl-3.8/sip/qevent.sip:427: parse
> error /usr/local/bin/sip failed with an exit code of 256.

In my version of PyQt-3.8.0, qevent.sip line 427 is:

        virtual ~QEvent();

>From the PyQt Changelog, this was made virtual in June of this 
year.

The only thing I could suggest is that line 427 has been somehow 
altered. Otherwise (much as I hate to do it) I'd suspect a 
hardware problem. For example, I had a CPU overheating that 
would cause random errors similar to this.

This is a problem with sip parsing PyQt's qevent.sip. Consider 
that you've probably already built PyQt using the same code (or 
presumably someone has if you're using packaged binaries for 
sip/PyQt) and run it through the same version of sip 
successfully.

You can try removing the "virtual" qualifier from that line so 
it's just:

        ~QEvent();

or comment the line out (//) altogether. This doesn't affect PyQt 
(unless you rebuild - then you don't want to have modified the 
line). It shouldn't cause any problems with PyKDE though (unless 
it causes a linking problem ??)

I can't duplicate this, since I've run this build a lot of times 
already without problem (or this problem anyway). I guess I'd 
start with the modifications above, and see if anything else in 
the build process fails that might give a better indication of 
the cause.

Which distribution/version are you using?

Jim


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to