[PyKDE] PyKDE-snapshot20050305 error

tony elizari at gmail.com
Tue Mar 8 13:48:24 GMT 2005


Hi, this is the error i get trying to compile PyKDE snapshot20050305
on Mandrake 10.0 with KDE 3.2.
The PyQt, Python and sip versions i have installed are shown in the
shell output.


-----------------------------------------------------------------------------
[tony at mordor PyKDE-snapshot20050305]$ python configure.py

     PyKDE version 4.0.0
           -------

Python include directory is /usr/include/python2.3
Python version is 2.3.3

sip version is 4.2.1 (4.2.1)

Qt directory is /usr/lib/qt3/
Qt version is 3.2.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
lib directory is lib
KDE version is 3.2.0 (0x30200)

PyKDE modules will be installed in /usr/lib/python2.3/site-packages
PyKDE .sip files will be installed in /usr/share/sip

PyKDE modules to be built:
   dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi

Generating the C++ source for the dcop module...
Creating the Makefile for the dcop module...

Generating the C++ source for the kdecore module...
Creating the Makefile for the kdecore module...

Generating the C++ source for the kdesu module...
Creating the Makefile for the kdesu module...

Generating the C++ source for the kdefx module...
Creating the Makefile for the kdefx module...

Generating the C++ source for the kdeui module...
sip: sip/kdeui/kactioncollection.sip:107: A function with the same
Python signature has already been defined
Error: Unable to create the C++ code.

If reporting errors, paste all of the output above into your
message and post to the PyKDE mailing list at:

     mailto:    PyKDE at 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

-----------------------------------------------------------------------------

I opened the kactioncollection.sip file and tried to compile without
the lines 105, 106, 107 and 108

%If (  - KDE_3_2_2 )

//%If ( D_MANDRAKE )
//    virtual QValueList<KAction*> actions (const QString&) const;
//    virtual QValueList<KAction*> actions () const;                  
 <---- line 107
//%End

%End

After doing this, PyKDE compiled without problems and looks like it
works. But i don't know if this will cause future problems. Anyway, i
send this info to this mailing list because i thought it could be
useful.

Bye :)




More information about the PyQt mailing list