i emerged wammu. when i try to start it i get this error: bash-2.05b$ wammu Traceback (most recent call last): File "/usr/bin/wammu", line 11, in ? import Wammu.App File "/usr/lib/python2.3/site-packages/Wammu/App.py", line 21, in ? import wx File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 45, in ? from wxPython import wx File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ? import wxc ImportError: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: _gtk_accel_group_detach bash-2.05b$ Reproducible: Always Steps to Reproduce: 1.emerge gammu python-gammu wammu 2.wammu 3. Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 10:07:05)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 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/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="de_DE@euro" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl divx4linux dvd dvdr dvdread emboss encode f77 faad fam flac flash font-server foomaticdb fortran gdbm gif gnokii gphoto2 gpm gstreamer gtkhtml guile imagemagick imlib innodb ipv6 jpeg kde libg++ libwww lzo mad mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nvidia oggvorbis opengl oscar pam pdflib perl php png ppds python qt quicktime readline real samba sdl sms spell ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 xine xml xml2 xmms xprint xv xvid yahoo zlib linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
works for me. I would say your wxGTK needs to be reemerged, but it would be safer to use revdep-rebuild. Please do that and tell me if it solved your problem.
revdep-rebuild gives this emerge-command: emerge --oneshot --nodeps =app-text/xpdf-3.00-r8 =media-libs/libquicktime-0.9.2_pre1 =media-tv/xawtv-3.86-r2 =media-video/mjpegtools-1.6.2-r3 =net-www/mozilla-firefox-bin-1.0.1 =net-www/opera-7.54-r3 but no wxGTK. i have done "emerge wxGTK" manually, but it doesn't work for me.
I don't understand why your wxGTK depends on gtk2 as if it was builded with gtk2 flag. Did you changed your USE flags? What output does "equery uses wxGTK" command have? wxGTK is more unstable when is build with gtk2. Maybe it would be best to add "gtk" to your flags, and run emerge --newuse world revdep-rebuild if you need gtk2 as well, you should disable it for wxGTK with: echo x11-libs/wxGTK -gtk2 >> /etc/portage/package.use
bash-2.05b# equery uses wxGTK [ Searching for packages matching wxGTK... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for x11-libs/wxGTK-2.4.2-r2 ] U I - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - no_wxgtk1 : <unknown> - - gtk2 : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both. - - odbc : Adds ODBC Support (Open DataBase Connectivity) + + opengl : Adds support for OpenGL - - unicode : Adds support for Unicode - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too i dont know much about equery but i think that means that wxGTK is not build against gtk2. is it right?
not necessarily. It means you don't have gtk2 flag switched on, but ./configure still may choose which gtk will use. And apparently it choosed gtk2, since error is about a undefined symbol in /usr/lib/libwx_gtk2-2.4.so. I even reemerged wxGTK and continued to have same library. On my system, /usr/lib/libwx_gtk-2.4.so is the library installed by wxGTK-2.4.2-r2. I have "gtk gtk2" globally, but on wxGTK I have -gtk2 -opengl. Do you have /usr/lib/libwx_gtk-2.4.so?
bash-2.05b# locate libwx_gtk-2.4.so /usr/lib/libwx_gtk-2.4.so.0.1.1 /usr/lib/libwx_gtk-2.4.so.0 /usr/lib/libwx_gtk-2.4.so mmh i have also not gtk2. here are my USE-flags bash-2.05b# emerge -pv wxGTK gammu python-gammu wammu These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r2 -debug -gtk2 -no_wxgtk1 -odbc +opengl -unicode 0 kB [ebuild R ] net-dialup/gammu-1.00.04 -bluetooth -irda +mysql +nls +ssl 0 kB [ebuild R ] dev-python/python-gammu-0.7 -doc 0 kB [1] [ebuild R ] net-dialup/wammu-0.8 0 kB
Did you had previously gtk2 switched on? Maybe you should try emerge --oneshot dev-python/wxpython dev-python/python-gammu
i tried to reemerge dev-python/wxpython-2.4.2.4! but i got this error: i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=pentium4 -pipe -fomit-frame-pointer -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.3 -c src/gtk/wizard.cpp -o build/temp.linux-i686-2.3/src/gtk/wizard.o -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include i686-pc-linux-gnu-gcc -pthread -shared -O2 -march=pentium4 -pipe -fomit-frame-pointer build/temp.linux-i686-2.3/src/gtk/wizard.o -L/usr/X11R6/lib -o build/lib.linux-i686-2.3/wxPython/wizardc.so -pthread -lwx_gtk-2.4 building 'glcanvasc' extension creating build/temp.linux-i686-2.3/contrib creating build/temp.linux-i686-2.3/contrib/glcanvas creating build/temp.linux-i686-2.3/contrib/glcanvas/gtk i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=pentium4 -pipe -fomit-frame-pointer -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.3 -c contrib/glcanvas/gtk/glcanvas.cpp -o build/temp.linux-i686-2.3/contrib/glcanvas/gtk/glcanvas.o -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include i686-pc-linux-gnu-gcc -pthread -shared -O2 -march=pentium4 -pipe -fomit-frame-pointer build/temp.linux-i686-2.3/contrib/glcanvas/gtk/glcanvas.o -L/usr/X11R6/lib -o build/lib.linux-i686-2.3/wxPython/glcanvasc.so -L/usr/X11R6/lib -lwx_gtk_gl-2.4 -lGL -lGLU -pthread -lwx_gtk-2.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/wxpython-2.4.2.4 failed. !!! Function src_compile, Line 68, Exitcode 1 !!! build failed !!! If you need support, post the topmost build error, NOT this status message.
It does not find GL (opengl) library. Run opengl-update $YOUR_KIND_OF_GL .
any news?
sry, had some trouble with pc now it works fine! problem was that i switched one gtk2 sometimes. thank you for your time
then this bug is an invalid one