Re: [PyKDE] Installing PyQt on Mandrake 9.1

2003-02-09 Thread Phil Thompson
On Sunday 09 February 2003 2:32 pm, Andy Neitzke wrote:
 Hello,

 I would be really grateful for some help in installing PyQt on Mandrake
 9.1 -- have been tearing my hair out over this.

 The story so far:  Since the RPMs don't work for a variety of reasons, I
 tried installing from the latest PyQt, SIP, QScintilla snapshots.  Good,
 they build without a hitch.  But when I try to use them I get:

 [andy@teleology andy]$ python
 Python 2.2.2 (#2, Feb  5 2003, 10:40:08)
 [GCC 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk)] on linux-i386
 Type help, copyright, credits or license for more information.

  import qt

 Traceback (most recent call last):
   File stdin, line 1, in ?
   File /usr/lib/python2.2/site-packages/PyQt/qt.py, line 25, in ?
 import libqtc
 ImportError: /usr/lib/python2.2/site-packages/PyQt/libqtcmodule.so:
 undefined symbol: _ZNK16QAssistantClient9classNameEv


 I found some previous discussion of this error and the suggestion was
 that it's because Mandrake's make install has improperly stripped the
 symbols out of the QT libraries; the proposed solution was to build QT
 myself and then copy the libraries from the build directory by hand.  So
 I did this:  in particular, my QT directory /usr/lib/qt3/lib now has a
 libqassistantclient.a which at least contains the string
 _ZNK16QAssistantClient9classNameEv.  Nevertheless, I still get the
 error listed above.  Is there something I have to do to get PyQt to
 recognize this library file?  (It is at least looking in the right
 directory, because it complains if I get rid of libqt-mt.so.3.1.1.)

 This happens with QT 3.1.1 and Python 2.2.2.  I am a relative novice to
 the intricacies of Python and Linux shared libraries, so forgive me if
 this is a spectacularly stupid question!  But I would be enormously
 grateful to anyone who knows how to get rid of this error.

Did you re-build PyQt after re-building Qt? The problem library is not a 
shared library.

Phil

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] Installing PyQt on Mandrake 9.1

2003-02-09 Thread Andy Neitzke
On Sun, 2003-02-09 at 10:09, Phil Thompson wrote:
 Did you re-build PyQt after re-building Qt? The problem library is not a 
 shared library.

Oh, brilliant!  It finally works!  Thank you, thank you.

-Andy

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] installing PyQt

2002-12-12 Thread Paul F. Kunz
 On Thu, 12 Dec 2002 11:41:09 +0100, =?iso-8859-1?Q?Fran=E7ois_CORRIHONS?= 
[EMAIL PROTECTED] said:

 This is a multi-part message in MIME format.
 --Boundary_(ID_oPBOk6lYlJF2BOkJpVXeWA) Content-type: text/plain;
 charset=iso-8859-1 Content-transfer-encoding: 8BIT

 Hi,

 I'd like to perform GUI's with PyQt and I unfortunately have to use
 the obsolete redhat 7.1.

 I can see that the new releases of SIP  PyQt (3.5) are available.

 Could anyone describe the installation I have to do (softwares,
 versions...), and the environment variables I have to set please ?
 With redhat 7.1 there is qt-2.3.0, should I have to remove it ?

   No, just install Qt-3.1.0 in /usr/local.   Then install sip, and
finally PyQt.   Follow the instructions in the INSTALL and/or README
file for each package.

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde