Re: [PyQt] konsoleFactory::className()

2008-02-22 Thread D.H.J. Takken

Ok, I guess I have to give up. No PyKDE on Gentoo Linux...

 Hi,

 Can anyone please have a look at the modified configure.py that was
 attached to the previous mail in this thread?

 Thanks!

 On Monday 21 January 2008 08:21:42 D.H.J. Takken wrote:
  Ok, I have been trying to get PyKDE to work again, adapting configure.py
  accorting to your directions. Unfortunately:
 
  Testing PyKDE module imports
 
  Modules built:
dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml
  kspell kdeprint kmdi
 
  Importing:
 
  dcop
  kdecore
  kdefx
  kdeui
  kio
  kresources
  kabc
  kutils
  kfile
  kparts
  Traceback (most recent call last):
File importTest.py, line 20, in ?
  exec (import  + mod)
File string, line 1, in ?
  ImportError: /usr/lib/python2.4/site-packages/kparts.so: undefined
  symbol: _ZNK14konsoleFactory9classNameEv
 
 
  I attached the modified configure.py, could you please have a look at it
  to see what else might be wrong?
 
  Thanks!
 
  Dik

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


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


Re: [PyQt] konsoleFactory::className()

2008-01-29 Thread D.H.J. Takken

Hi,

Can anyone please have a look at the modified configure.py that was attached 
to the previous mail in this thread?

Thanks!


On Monday 21 January 2008 08:21:42 D.H.J. Takken wrote:

 Ok, I have been trying to get PyKDE to work again, adapting configure.py
 accorting to your directions. Unfortunately:

 Testing PyKDE module imports

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

 Importing:

 dcop
 kdecore
 kdefx
 kdeui
 kio
 kresources
 kabc
 kutils
 kfile
 kparts
 Traceback (most recent call last):
   File importTest.py, line 20, in ?
 exec (import  + mod)
   File string, line 1, in ?
 ImportError: /usr/lib/python2.4/site-packages/kparts.so: undefined symbol:
 _ZNK14konsoleFactory9classNameEv


 I attached the modified configure.py, could you please have a look at it to
 see what else might be wrong?

 Thanks!

 Dik


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


Re: [PyQt] konsoleFactory::className()

2008-01-20 Thread D.H.J. Takken
Op Saturday 12 January 2008 04:33:37 schreef Jim Bublitz:
 On Friday 11 January 2008 15:41, D.H.J. Takken wrote:
  Op Friday 11 January 2008 17:56:29 schreef Jim Bublitz:
   On Friday 11 January 2008 06:48, D.H.J. Takken wrote:
Hi,
   
Is there anyone having a look at this issue please? I was asked which
PyKDE I am using. I replied to the list, but no response ever
since
  
   You can try editing configure.py. Find any reference assigning a value
   to 'opt_konsolepart' and set it to False.
 
  The command cat configure.py | grep konsole gives me:
 
  makefile.extra_libs.append (konsolepart)
  target  = os.path.join (opt_kdelibdir, kde3,
  libkonsolepart.so) symlink = os.path.join (opt_kdelibdir,
  libkonsolepart.so)
 
  No trace of anything called opt_konsolepart...

 OK - apparently the update (-x switch) never got uploaded - my fault. What
 you have should be identical to PyKDE 3.16.0 from riverbankcomputing.com.

 In configure.py:

 Try commenting out the if extra_lib ... block that contains the first
 line above (makefile.extra_libs ..., around line 733), then locate the
 if kde_version ... block that contains the second two lines above, and
 comment out the entire if block. (around line 765)

 That should eliminate all of the konsolePart modifications to the Makefile
 without affecting anything else..

 IIRC the problem arose because of changes in distributions after adding the
 konsolePart support that had been requested. If it doesn't build with your
 distribution, there isn't any (simple) way to provide konsolePart support,
 which you probably won't miss anyway.

Ok, I have been trying to get PyKDE to work again, adapting configure.py 
accorting to your directions. Unfortunately:

Testing PyKDE module imports

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

Importing:

dcop
kdecore
kdefx
kdeui
kio
kresources
kabc
kutils
kfile
kparts
Traceback (most recent call last):
  File importTest.py, line 20, in ?
exec (import  + mod)
  File string, line 1, in ?
ImportError: /usr/lib/python2.4/site-packages/kparts.so: undefined symbol: 
_ZNK14konsoleFactory9classNameEv


I attached the modified configure.py, could you please have a look at it to 
see what else might be wrong?

Thanks!

Dik


configure.py
Description: application/python
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] konsoleFactory::className()

2008-01-11 Thread Jim Bublitz
On Friday 11 January 2008 06:48, D.H.J. Takken wrote:
 Hi,

 Is there anyone having a look at this issue please? I was asked which PyKDE
 I am using. I replied to the list, but no response ever since

You can try editing configure.py. Find any reference assigning a value to 
'opt_konsolepart' and set it to False. 

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


Re: [PyQt] konsoleFactory::className()

2008-01-11 Thread D.H.J. Takken
Op Friday 11 January 2008 17:56:29 schreef Jim Bublitz:
 On Friday 11 January 2008 06:48, D.H.J. Takken wrote:
  Hi,
 
  Is there anyone having a look at this issue please? I was asked which
  PyKDE I am using. I replied to the list, but no response ever since

 You can try editing configure.py. Find any reference assigning a value to
 'opt_konsolepart' and set it to False.

The command cat configure.py | grep konsole gives me:

makefile.extra_libs.append (konsolepart)
target  = os.path.join (opt_kdelibdir, kde3, libkonsolepart.so)
symlink = os.path.join (opt_kdelibdir, libkonsolepart.so)

No trace of anything called opt_konsolepart...

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


Re: [PyQt] konsoleFactory::className()

2008-01-11 Thread Jim Bublitz
On Friday 11 January 2008 15:41, D.H.J. Takken wrote:
 Op Friday 11 January 2008 17:56:29 schreef Jim Bublitz:
  On Friday 11 January 2008 06:48, D.H.J. Takken wrote:
   Hi,
  
   Is there anyone having a look at this issue please? I was asked which
   PyKDE I am using. I replied to the list, but no response ever since
 
  You can try editing configure.py. Find any reference assigning a value to
  'opt_konsolepart' and set it to False.

 The command cat configure.py | grep konsole gives me:

 makefile.extra_libs.append (konsolepart)
 target  = os.path.join (opt_kdelibdir, kde3, libkonsolepart.so)
 symlink = os.path.join (opt_kdelibdir, libkonsolepart.so)

 No trace of anything called opt_konsolepart...

OK - apparently the update (-x switch) never got uploaded - my fault. What you 
have should be identical to PyKDE 3.16.0 from riverbankcomputing.com.

In configure.py:

Try commenting out the if extra_lib ... block that contains the first line 
above (makefile.extra_libs ..., around line 733), then locate the if 
kde_version ... block that contains the second two lines above, and comment 
out the entire if block. (around line 765)

That should eliminate all of the konsolePart modifications to the Makefile 
without affecting anything else..

IIRC the problem arose because of changes in distributions after adding the 
konsolePart support that had been requested. If it doesn't build with your 
distribution, there isn't any (simple) way to provide konsolePart support, 
which you probably won't miss anyway.

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


Re: [PyQt] konsoleFactory::className()

2008-01-03 Thread D.H.J. Takken
Op Wednesday 02 January 2008 19:05:56 schreef Jim Bublitz:
 On Wednesday 02 January 2008 06:38, D.H.J. Takken wrote:
  Hi,
 
  Are there any developers on this list that can have a look at this issue?
 
  Thanks!

 Try adding the -x switch to configure.py command line. configure.py is
 supposed to detect whether konsolePart support is available (it isn't in
 most later versions) automatically.

Hmmm... The -x switch does not seem to exist:

python configure.py -k /usr/kde/3.5 -x

Usage:
python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] [-n dir] [-o dir] 
[-r] [-u] [-v dir] [-z file]
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] konsoleFactory::className()

2008-01-03 Thread Jim Bublitz
On Thursday 03 January 2008 10:40, D.H.J. Takken wrote:
 Op Wednesday 02 January 2008 19:05:56 schreef Jim Bublitz:
  On Wednesday 02 January 2008 06:38, D.H.J. Takken wrote:
   Hi,
  
   Are there any developers on this list that can have a look at this
   issue?
  
   Thanks!
 
  Try adding the -x switch to configure.py command line. configure.py is
  supposed to detect whether konsolePart support is available (it isn't in
  most later versions) automatically.

 Hmmm... The -x switch does not seem to exist:

 python configure.py -k /usr/kde/3.5 -x

 Usage:
 python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] [-n dir] [-o
 dir] [-r] [-u] [-v dir] [-z file]

What version of PyKDE?

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


Re: [PyQt] konsoleFactory::className()

2008-01-03 Thread D.H.J. Takken
On Thursday 03 January 2008 22:06:17 Jim Bublitz wrote:
 On Thursday 03 January 2008 10:40, D.H.J. Takken wrote:
  Op Wednesday 02 January 2008 19:05:56 schreef Jim Bublitz:
   On Wednesday 02 January 2008 06:38, D.H.J. Takken wrote:
Hi,
   
Are there any developers on this list that can have a look at this
issue?
   
Thanks!
  
   Try adding the -x switch to configure.py command line. configure.py is
   supposed to detect whether konsolePart support is available (it isn't
   in most later versions) automatically.
 
  Hmmm... The -x switch does not seem to exist:
 
  python configure.py -k /usr/kde/3.5 -x
 
  Usage:
  python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] [-n dir] [-o
  dir] [-r] [-u] [-v dir] [-z file]

 What version of PyKDE?

PyKDE 3.16.0 (built from source, patched for Sip = 4.7)
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt