Thanks! But your ebuild has problems with several files (destination paths
specified):
/usr/lib/python2.4/site-packages/bmpx/__init__.py
/usr/lib/python2.4/site-packages/bmpx/bmpx.py
Even when ebuild`ing with (surely) sudo or root shell, ebuild cannot copy those
files there (permission denied!), so i copy them manually.
Then it tries to byte-compile them, also get permission denied, so i do the
following:
$ sudo python
import py_compile
py_compile.compile("__init__.py")
py_compile.compile("bmpx.py")
but then I get the startup error
/usr/libexec/beep-media-player-2-bin:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not
found (required by /usr/libexec/beep-media-player-2-bin)
Portage 2.1.2_rc1-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.18-suspend2-newra i686)
=================================================================
System uname: 2.6.18-suspend2-newra i686 Intel(R) Pentium(R) M processor
2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Fri, 10 Nov 2006 13:00:03 +0000
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="lt_LT.utf8"
LC_ALL="lt_LT.utf8"
LINGUAS="lt"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aiglx alsa avahi berkdb bitmap-fonts cairo cdr cli cracklib crypt
cups dbus divx dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam
firefox fortran gdbm gif gmedia gnome gpm gstreamer gtk gtk2 hal iconv
input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jpeg
kernel_linux ldap libg++ linguas_lt mad mikmod mp3 mpeg ncurses nls nptl
nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime
readline realmedia reflection sdl session slang spell spl ssl tcpd truetype
truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 video_cards_i810
video_cards_vesa vorbis win32codecs wmp xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #3)
> Thanks! But your ebuild has problems with several files (destination paths
> specified):
> /usr/lib/python2.4/site-packages/bmpx/__init__.py
> /usr/lib/python2.4/site-packages/bmpx/bmpx.py
> Even when ebuild`ing with (surely) sudo or root shell, ebuild cannot copy those
> files there (permission denied!), so i copy them manually.
If you refresh http://www.unk.fi/~drac/bmpx-0.34.3.ebuild now, this has been
fixed and finally USE="python" is working.
Also, Shoutcast is working for first time in long time for me now. It was
libneon issue.
(In reply to comment #3)
> but then I get the startup error
>
> /usr/libexec/beep-media-player-2-bin:
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not
> found (required by /usr/libexec/beep-media-player-2-bin)
Recompile your system and world with new GCC. C++ ABI has been changed between
3.4.* and 4.* and even when libstdc++.so.6 is named same way in both versions
it won't work. http://www.gentoo.org/doc/en/gcc-upgrading.xml
Also make sure /etc/ld.so.conf doesn't have
/usr/lib/gcc/i686-pc-linux-gnu/VERSIOHERE in wrong order after you change
default GCC to 4.x. It's been happening if user has had eselect-compiler
installed, it leave unwanted file in /etc/env.d.