Re: [PyKDE] Error generating code
On Friday 29 April 2005 08:34, lapo wrote: > Hi i got this stiky error: > > 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. 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 ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] Error generating code
Hi i got this stiky error: 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. The output: PyKDE version 3.11.1 --- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.2.1 (4.2.1) Qt directory is /usr/lib/qt3/ Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.14.1 (3.14.1) KDE base directory is /usr KDE include directory is /usr/include KDE lib directory is /usr/lib KDE version is 3.2.0 (0x30200) PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto:PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed -- mailto:[EMAIL PROTECTED] ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde