djm@sif ~ $ bitpim Traceback (most recent call last): File "/opt/cx_Freeze-3.0.1/initscripts/ConsoleSetLibPath.py", line 30, in ? File "bp.py", line 86, in ? File "gui.py", line 30, in ? File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py", line 42, in ? File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 4, in ? File "ExtensionLoader.py", line 12, in ? ImportError: /usr/lib/bitpim-0.8.08/libwx_gtk2ud-2.6.so.0: undefined symbol: XineramaIsActive According to http://forums.gentoo.org/viewtopic-t-426598-highlight-.html bitpim works with gtk+-2.8.8, but not with newer versions (I haven't checked myself though). I did try remerging wxGTK and wxpython though, but that didn't help. emerge --info Portage 2.1_pre6-r5 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo" LC_ALL="en_GB.utf8" MAKEOPTS="-j2" 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 a52 aac aalib alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk crypt cscope cups curl daap directfb dri dvd dvdr emboss encode expat fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif glut gpm graphviz gstreamer gtk2 imagemagick imap jack jpeg lcms libcaca libg++ libwww lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly nvidial ogg oggvorbis opengl pam pcre pdf pdflib perl png python quicktime readline real ruby samba sdl spell sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vcd vidix vorbis win32codecs x264 xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
I don't think it has anything to do with gtk version. On my computer, XineramaIsActive symbol is defined in /usr/lib/libXinerama.so, library installed by xorg-x11 package. 1) do you have this library on your computer? 2) if you have, does define this input? what output does the "objdump --dynamic-syms /usr/lib/libXinerama.so | grep XineramaIsActive" command have?
sif ~ # ls /usr/lib/libXinerama.so* /usr/lib/libXinerama.so /usr/lib/libXinerama.so.1.0.0 /usr/lib/libXinerama.so.1 sif ~ # objdump --dynamic-syms /usr/lib/libXinerama.so | grep XineramaIsActive 000010b0 g DF .text 0000011a Base XineramaIsActive
hmmm... seems you're right. probably I will dump this bin version (with tons of libraries in it) and make our own source tarball, taken from upstream svn. unfortunately I don't have the time right now so it may take awhile. in the meantime, I've added =x11-libs/gtk+-2.8.8* to RDEPEND.
I'm sorry but the source of this package is too much for me to handle. If someone dare to step up and create a working ebuild based on the source tarball obtained as a result of the commands: svn export https://svn.sourceforge.net/svnroot/bitpim/releases/0.8.09 bitpim-0.8.09 tar -cvzf bitpim-0.8.09.tar.gz bitpim-0.8.09 I'll be glad to review it. Otherwise, I think this package will have a very short life into portage tree.
in the above mentioned svn source there is bitpim-0.8.09/buildrelease/unixpkg/bitpim.ebuild it complains about a package called dev-python/dsv not being in portage. i may have a look at it later, maybe it just works :)
I hate to discourage you, but I tried to make a working ebuild using that file as a starting point... and I failed ;)
Please see bug 127966. It has a source build that may fix this problem. Please test.
bitpim dependency on the right gtk version will be fixed by bug 127966. closed as FIXED (see comment 3).