[PyKDE] PyKDE and KDE 3.4.0

Arash Abedinzadeh thunfisch at thunfisch.org
Thu Mar 3 17:06:48 GMT 2005

On Thursday 03 March 2005 17:18, Sebastian Kügler wrote:
> Hi Simon,
> On Thursday 03 March 2005 07:58, Simon Edwards wrote:
> > On Thursday 03 March 2005 07:18, Jim Bublitz wrote:
> > > I just compiled the latest PyKDE snapshot (20050301) against KDE
> > > 3.4.0rc1 and it compiles without a hitch and seems to work fine (didn't
> > > test much though).
> >
> > In KDE CVS there have been problems w.r.t. the coming gcc symbol
> > visibility feature. gentoo appears to be the only distro that supports
> > this feature. They have a patched version of gcc 3.4 available.
> >
> > http://bugs.kde.org/show_bug.cgi?id=100101
> >
> > If there are any bleeding edge gentoo users here, it would be nice if you
> > tried out the current KDE 3.4rc1 and the bindings there, and reported any
> > problems before the final 3.4 comes out.
> I asked thunfisch to give the bindings a shot with the recent gcc Gentoo,
> and he confirmed the problem. However, I don't exactly know further
> details, hence the CC:.
> > cheers,
> sebas

Hi there,

I guess I'm one of those bleeding edge Gentoo users and unfortunetaly I have 
some "undefined symbol" errors, too:


dcop imported
kdecore imported
Unable to import kdesu: /usr/lib/python2.3/site-packages/kdesu.so: undefined 
symbol: _ZN7KCookie16setDcopTransportERK8QCString
kdefx imported
kdeui imported
Unable to import kio: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE
Unable to import kutils: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE
Unable to import kfile: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE
Unable to import kparts: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE
Unable to import khtml: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE
Unable to import kspell: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE
kdeprint imported
Unable to import kmdi: /usr/lib/python2.3/site-packages/kio.so: undefined 
symbol: _ZN17KFileSharePrivate5_selfE

I compiled Python-2.3.5, Qt-3.3.4, kdelibs (3.4-beta2!), sip-4.1.1 from 
kdebindings-3.4-rc1, PyQt-3.13 from kdebindings-3.4-rc1 and PyKDE-3.11.3 from 

gcc Version: gcc (GCC) 3.4.3 20050110 (Gentoo Linux, 
ssp-, pie-8.7.7)

The changelog of Gentoo's gcc eBuild Script says that the visibility patch is 
used since Jul 2004. So I'm pretty sure that all of above mentioned programs 
are compiled with a patched gcc.

Here some more specific informations about my system:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, 
glibc-, 2.6.10-cko1 i686)
System uname: 2.6.10-cko1 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.5 [2.3.5 
(#1, Feb 21 2005, 15:08:10)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
dev-lang/python:     2.2.3-r1, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/libtool:   1.5.10-r5
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks keeptemp 
keepwork noclean sandbox sfperms usersandbox"
LANG="de_DE at euro"
LC_ALL="de_DE at euro"
USE="x86 3dnow X aalib acpi alsa apm audiofile avi bash-completion berkdb 
bitmap-fonts cdparanoia cdr crypt curl directfb divx4linux emboss encode esd 
f77 fam fbcon flac font-server foomaticdb fortran gdbm ggi gif gnome gphoto2 
gpm gtk gtk2 guile imagemagick imlib java jpeg junit kde libg++ libwww live 
mad mikmod mmx motif mozilla mpeg nas ncurses nls nptl oggvorbis opengl oss 
pam pdflib perl png python qt quicktime readline real ruby samba sasl sdl 
sharedmem slang speex spell sse ssl tcltk tcpd tetex theora tiff truetype 
truetype-fonts type1-fonts v4l xine xml xml2 xmms xosd xv xvid zlib"

If there's anything I can do, let me know.
Arash Abedinzadeh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20050303/91302646/attachment.bin

More information about the PyQt mailing list