[PyKDE] PyQt on Mandrake 10.1 fails to compile after README patch
Parzival
parz at shaw.ca
Fri Jan 14 18:38:38 GMT 2005
On Friday 14 January 2005 11:49, Phil Thompson wrote:
> On Friday 14 January 2005 5:20 pm, Parzival Herzog wrote:
<<snip>>
> >
> > The newly built and installed PyQt would not work, giving
> >
> > Error: /usr/lib/python2.3/site-packages/qt.so: undefined symbol:
> > _ZNK14QPlatinumStyle9classNameEv
> >
<<snip>>>
> You shouldn't need to edit qconfig.h anymore. It was needed when PyQt's
> build system didn't check for styles that had been built as plugins.
> configure.py should tell which styles have been disabled.
Phil, thanks, but I still don't know how to make all this work again.
What then is the problem associated with the unresolved
_ZNK14QPlatinumStyle9classNameEv ?
As I said, after building and installing PyQt on mdk 10.1, pyqt scripts
failed with that message, and I assumed that the README.Unix, which seemed to
address this problem, and advised that fix was to edit qconfig.h applied.
In /usr/lib/python2.3/site-packages/sipconfig.py, it reads:
_pkg_config = {
'default_bin_dir': '/usr/bin',
'default_mod_dir': '/usr/lib/python2.3/site-packages',
'default_sip_dir': '/usr/share/sip',
'py_inc_dir': '/usr/include/python2.3',
'py_lib_dir': '/usr/lib/python2.3/config',
'py_version': 0x020304,
'qt_dir': '/usr/lib/qt3/',
'qt_edition': 'free',
'qt_inc_dir': '/usr/lib/qt3//include',
'qt_lib': 'qt-mt',
'qt_lib_dir': '/usr/lib/qt3//lib',
'qt_threaded': 1,
'qt_version': 0x030102,
'qt_winconfig': '',
'sip_bin': '/usr/bin/sip',
'sip_inc_dir': '/usr/include/python2.3',
'sip_mod_dir': '/usr/lib/python2.3/site-packages',
'sip_version': 0x040001,
'sip_version_str': '4.0.1'
}
There is a "sip.so" which was installed with the new pyqt build, and there is
also a "libsip.so", which (I assume) came as a part of the Mandrake 10.1
install, and links to "libsip.so.10.1.1". In fact there are a whole lot of
libraries whose names start with "lib" that seem to be similar by name to what
pyqt installs.
Here is a listing of qt and sip related files in
[parz at lobsang site-packages]$ pwd
/usr/lib/python2.3/site-packages
[parz at lobsang site-packages]$ ls -l *sip*
lrwxrwxrwx 1 root root 16 Jun 29 2004 libsip.so -> libsip.so.10.1.1*
lrwxrwxrwx 1 root root 16 Jun 29 2004 libsip.so.10 -> libsip.so.10.1.1*
lrwxrwxrwx 1 root root 16 Jun 29 2004 libsip.so.10.1 -> libsip.so.10.1.1*
-rwxr-xr-x 1 root root 64943 Jun 29 2004 libsip.so.10.1.1*
-rw-r--r-- 1 root root 55483 Jan 13 23:22 sipconfig.py
-rw-r--r-- 1 root root 56286 Dec 25 16:31 sipconfig.pyc
-rwxr-xr-x 1 root root 60806 Jan 13 23:22 sip.so*
[parz at lobsang site-packages]$ ls -l *qt*
lrwxrwxrwx 1 root root 27 Jun 29 2004 libqtcanvascmodule.so ->
libqtcanvascmodule.so.1.0.0*
lrwxrwxrwx 1 root root 27 Jun 29 2004 libqtcanvascmodule.so.1 ->
libqtcanvascmodule.so.1.0.0*
lrwxrwxrwx 1 root root 27 Jun 29 2004 libqtcanvascmodule.so.1.0 ->
libqtcanvascmodule.so.1.0.0*
-rwxr-xr-x 1 root root 495361 Jun 29 2004 libqtcanvascmodule.so.1.0.0*
lrwxrwxrwx 1 root root 21 Jun 29 2004 libqtcmodule.so ->
libqtcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 21 Jun 29 2004 libqtcmodule.so.1 ->
libqtcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 21 Jun 29 2004 libqtcmodule.so.1.0 ->
libqtcmodule.so.1.0.0*
-rwxr-xr-x 1 root root 9994945 Jun 29 2004 libqtcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 23 Jun 29 2004 libqtglcmodule.so ->
libqtglcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 23 Jun 29 2004 libqtglcmodule.so.1 ->
libqtglcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 23 Jun 29 2004 libqtglcmodule.so.1.0 ->
libqtglcmodule.so.1.0.0*
-rwxr-xr-x 1 root root 234082 Jun 29 2004 libqtglcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 28 Jun 29 2004 libqtnetworkcmodule.so ->
libqtnetworkcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 28 Jun 29 2004 libqtnetworkcmodule.so.1 ->
libqtnetworkcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 28 Jun 29 2004 libqtnetworkcmodule.so.1.0 ->
libqtnetworkcmodule.so.1.0.0*
-rwxr-xr-x 1 root root 151526 Jun 29 2004 libqtnetworkcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 24 Jun 29 2004 libqtsqlcmodule.so ->
libqtsqlcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 24 Jun 29 2004 libqtsqlcmodule.so.1 ->
libqtsqlcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 24 Jun 29 2004 libqtsqlcmodule.so.1.0 ->
libqtsqlcmodule.so.1.0.0*
-rwxr-xr-x 1 root root 968800 Jun 29 2004 libqtsqlcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 26 Jun 29 2004 libqttablecmodule.so ->
libqttablecmodule.so.1.0.0*
lrwxrwxrwx 1 root root 26 Jun 29 2004 libqttablecmodule.so.1 ->
libqttablecmodule.so.1.0.0*
lrwxrwxrwx 1 root root 26 Jun 29 2004 libqttablecmodule.so.1.0 ->
libqttablecmodule.so.1.0.0*
-rwxr-xr-x 1 root root 444206 Jun 29 2004 libqttablecmodule.so.1.0.0*
lrwxrwxrwx 1 root root 23 Jun 29 2004 libqtuicmodule.so ->
libqtuicmodule.so.1.0.0*
lrwxrwxrwx 1 root root 23 Jun 29 2004 libqtuicmodule.so.1 ->
libqtuicmodule.so.1.0.0*
lrwxrwxrwx 1 root root 23 Jun 29 2004 libqtuicmodule.so.1.0 ->
libqtuicmodule.so.1.0.0*
-rwxr-xr-x 1 root root 33919 Jun 29 2004 libqtuicmodule.so.1.0.0*
lrwxrwxrwx 1 root root 24 Jun 29 2004 libqtxmlcmodule.so ->
libqtxmlcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 24 Jun 29 2004 libqtxmlcmodule.so.1 ->
libqtxmlcmodule.so.1.0.0*
lrwxrwxrwx 1 root root 24 Jun 29 2004 libqtxmlcmodule.so.1.0 ->
libqtxmlcmodule.so.1.0.0*
-rwxr-xr-x 1 root root 462823 Jun 29 2004 libqtxmlcmodule.so.1.0.0*
-rw-r--r-- 1 root root 7688 Jan 13 23:26 pyqtconfig.py
-rwxr-xr-x 1 root root 700024 Jan 13 23:26 qtcanvas.so*
-rwxr-xr-x 1 root root 1158765 Jan 13 23:26 qtext.so*
-rwxr-xr-x 1 root root 447252 Jan 13 23:26 qtgl.so*
-rwxr-xr-x 1 root root 653179 Jan 13 23:26 qtnetwork.so*
-rwxr-xr-x 1 root root 9640536 Jan 13 23:26 qt.so*
-rwxr-xr-x 1 root root 1102168 Jan 13 23:26 qtsql.so*
-rwxr-xr-x 1 root root 627550 Jan 13 23:26 qttable.so*
-rwxr-xr-x 1 root root 290989 Jan 13 23:26 qtui.so*
-rwxr-xr-x 1 root root 693508 Jan 13 23:26 qtxml.so*
[parz at lobsang site-packages]$
--
-- Parzival
More information about the PyQt
mailing list