[PyQt] PyKDE and undefined symbols

2007-09-04 Thread Bart
I've found some undefinied symbols in PyKDE-3.16

There are more errors like this one. Please check in your PyKDE module. 

How to solve this problem?

Best regards.
Bart.


$ python
Python 2.5.1 (r251:54863, Jul 31 2007, 09:34:25)
[GCC 4.2.1 20070719 (release) (PLD-Linux)] on linux2
Type help, copyright, credits or license for more information.
 import kparts
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: /usr/lib/python2.5/site-packages/kparts.so: undefined symbol: 
_ZNK23konsoleBrowserExtension9classNameEv
 import kmdi
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: /usr/lib/python2.5/site-packages/kparts.so: undefined symbol: 
_ZNK23konsoleBrowserExtension9classNameEv



___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyKDE and undefined symbols

2007-09-04 Thread Jim Bublitz
On Tuesday 04 September 2007 15:16, Bart wrote:
 I've found some undefinied symbols in PyKDE-3.16

 There are more errors like this one. Please check in your PyKDE module.

 How to solve this problem?

 Best regards.
 Bart.


 $ python
 Python 2.5.1 (r251:54863, Jul 31 2007, 09:34:25)
 [GCC 4.2.1 20070719 (release) (PLD-Linux)] on linux2
 Type help, copyright, credits or license for more information.

  import kparts

 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: /usr/lib/python2.5/site-packages/kparts.so: undefined symbol:
 _ZNK23konsoleBrowserExtension9classNameEv

  import kmdi

 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: /usr/lib/python2.5/site-packages/kparts.so: undefined symbol:
 _ZNK23konsoleBrowserExtension9classNameEv

jim:/home/jim # c++filt _ZNK23konsoleBrowserExtension9classNameEv
konsoleBrowserExtension::className() const

Run configure.py -x which disables konsolePart support (or alternatively edit 
the top level Makefile to remove konsole and konsolePart references. If the 
className() method isn't there, nothing related to konsolePart is.

Not every Linux distribution supports (support varies by version too).

configure.py should detect this automatically, and I thought it was off by 
default. You might be using an older version of PyKDE.

Jim
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt