[PyKDE] configure problems PyKDE version 3.11.3

Jim Bublitz jbublitz at nwinternet.com
Mon Apr 11 17:54:55 BST 2005


On Wednesday 06 April 2005 00:06, Ferdinand Gassauer wrote:
> Hi!

> Generating the C++ source for the kdecore module...
> sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope
> with the same Python name
> Error: Unable to create the C++ code.
>
> any idea?

In the file indicated, delete the following lines around line 85, then re-run 
configure.py and make. Change:

public:
//force

    enum Other
    {

    };

//end

public:
//force

//    enum Other
//    {

//    };

//end

The other alternative is to download the snapshot which already has this 
fixed. Snapshots are at 

http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE

If you're using gcc >= 3.4, you might want to use the kde-bindings version or 
KDE CVS version of PyKDE. gcc 3.4 and greater will produce "missing symbols" 
errors with the snapshot.

There duplicate enum error above is a problem with more recent sip versions - 
earlier sip versions ignored it.

Jim




More information about the PyQt mailing list