Re: [review] Re: [PyKDE] PyKDE and KDE 3.4.0

2005-04-08 Thread Karsten Vieth
On Apr 8, 2005 1:19 AM, Jim Bublitz <[EMAIL PROTECTED]> wrote:
> On Thursday 07 April 2005 14:25, Karsten Vieth wrote:
> > Trying to install PyKDE with KDE 3.4.0
> 
> > kdesu
> > Traceback (most recent call last):
> >   File "importTest.py", line 19, in ?
> > exec ("import " + mod)
> >   File "", line 1, in ?
> > ImportError: /usr/lib/python2.3/site-packages/kdesu.so: undefined
> > symbol: _ZN7KCookie16setDcopTransportERK8QCString
> 
> 
> 2. You can use c++filt to identify the missing symbol:
> 
>   [EMAIL PROTECTED]:~> c++filt _ZN7KCookie16setDcopTransportERK8QCString
>   KCookie::setDcopTransport(QCString const&)
> 
> Find the .sip file in PyKDE/sip/kdesu that holds the KCookie class and comment
> out the setDcopTransport(QCString const&) method (// or /* ... */).
> 

I found "setDcopTransport(QCString const&)" in ./sip/kdesu/kcookie.sip
Comment it out
//void setDcopTransport (const QCString&);

configured and compiled but nothing changes:
kdesu
Traceback (most recent call last):
  File "importTest.py", line 19, in ?
exec ("import " + mod)
  File "", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/kdesu.so: undefined
symbol: _ZN7KCookie16setDcopTransportERK8QCString

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] PyKDE and KDE 3.4.0

2005-04-07 Thread Karsten Vieth
Trying to install PyKDE with KDE 3.4.0

*
PyKDE-snapshot20050316]# python configure.py

 PyKDE version 4.0.0
   ---

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/qt-3.3
Qt version is 3.3.4

PyQt directory is /usr/share/sip
PyQt version is snapshot-20050311 (3.14.1)

KDE base directory is /usr
KDE include directory is /usr/include/kde
KDE lib directory is /usr/lib
lib directory is lib
KDE version is 3.4.0 (0x30400)

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 kutils 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...
Creating the Makefile for the kdeui module...

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

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

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

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

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

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

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

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

Creating top level Makefile...
Creating pykdeconfig.py...
*

Finished without errors.
make && make install work without errors, but when i test import, the
script fails:

*
PyKDE-snapshot20050316]# python importTest.py

Testing PyKDE module imports

Modules built:
  dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell
kdeprint kmdi

Importing:

dcop
kdecore
kdesu
Traceback (most recent call last):
  File "importTest.py", line 19, in ?
exec ("import " + mod)
  File "", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/kdesu.so: undefined
symbol: _ZN7KCookie16setDcopTransportERK8QCString
*

Don't know what to change to get it working.

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde