Re: [gentoo-amd64] Re: How well does your dual-head window manager handle games?
On Tue, Feb 2, 2010 at 9:52 PM, Mark Knecht markkne...@gmail.com wrote: On Tue, Feb 2, 2010 at 3:36 AM, Duncan 1i5t5.dun...@cox.net wrote: Mark Knecht posted on Mon, 01 Feb 2010 06:42:24 -0800 as excerpted: i think most games do not support dual-head. you are likely get two mirrored screen, or one black screen. for kde, its own window manager seems not to support dual-screen very well. the windows are not aware of the boundary of the displayer, and is stretched to two displayer when maximize. i replaced its own window manager with compiz, and dual-head works very well. two screens are independent, and windows can move across each other. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] how to get edid info. for monitors in gentoo amd64
hi, my system is gentoo amd64. i want to get the edid info. for my monitor. the read-edid package would do this, but it only works in 32bit env. do we have a alternative way to get the edid info. in a 64bit env.? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64] unsubscribe
you should email to unsubscribe-gentoo-am...@lists.gentoo.org :) On Mon, Jan 11, 2010 at 6:26 AM, Осипов Станислав demo...@mail.ru wrote: unsubscribe -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64] Re: [gentoo-user] chromium failed to start up
On Sat, Dec 26, 2009 at 12:55 PM, Duncan 1i5t5.dun...@cox.net wrote: Xi Shen posted on Sat, 26 Dec 2009 12:31:24 +0800 as excerpted: my system is gentoo amd64, kde 4.3, and have recently updated. last time i emerged chromium and it works fine. but after updated the world, my chromium cannot start up. it reports segment fault. Did you do a revdep-rebuild after the last update? Chances are, one of chromium's dependencies was updated, changing its abi, and chromium (and perhaps other packages) that depend on it need rebuilt to match the new abi. It's revdep-rebuild that takes care of this, but if you don't run it routinely, you'll likely have a BUNCH of stuff to rebuild. FWIW, lafilefixer (with the --justfixit option) can reduce that bunch of stuff by fixing *.la files that point to other *.la files, to point to the libraries directly instead. Also, you may wish to read up on LDFLAGS=-Wl,--as-needed and consider using it too, as it helps kill indirect dependencies. (Say application X uses library Y, which depends on library Z, but application X doesn't use any of library Z's functionality directly, so it shouldn't need to directly depend on it, and shouldn't need to be rebuilt when only library Z changes. Only library Y would need rebuilt. The as-needed LDFLAGS help this happen, thus reducing substantially the number of rebuilds needed, but at a cost of occasionally causing a legit depend to be missed. But flameeyes has been working on this as one of his projects, so it doesn't happen very often with at least mainline packages any more, tho it might in obscure corner cases, the reason it's not yet the default. So... consider it carefully as there's a major upside and generally only obscure case downside, but do be aware of the issues if you decide to use it.) Of course, the LDFLAGS as-needed won't help much until you've recompiled a good part of your system at least once with it in place. But the lafilefixer thing is just about perfect -- very little downside, it doesn't take long to run compared to even a couple package rebuilds, and it can be put to use immediately after you merge it! =:^) Together, these reduce the number of revdep-rebuilds SUBSTANTIALLY, and I run it after every update session. (Actually, my revdep-rebuild invoking script automatically runs lafilefixer --justfixit before it runs revdep- rebuild, just to be sure, so I only invoke that script after the update and it takes care of both.) -- Duncan - List replies preferred. No HTML msgs. Every nonfree program has a lord, a master -- and if you use the program, he is your master. Richard Stallman yes, i have run the revdep-rebuild immediately after update the world. i think you are correct. since chromium is not a main stream package, indirect library dependence may cause this kind of problem. thanks a lot. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] chromium failed to start up
hi, my system is gentoo amd64, kde 4.3, and have recently updated. last time i emerged chromium and it works fine. but after updated the world, my chromium cannot start up. it reports segment fault. any idea why this happen? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] cannot compile kvm
hi, i cannot access my computer now, so i can only tell you what i remember. i am using gentoo amd64, and the portage is updated. the kernel have kvm modules compiled. when i was trying to emerge kvm-kmod, it is said to have been masked, so i unmasked it. but while compiling, kvm-kmod failed with an error message like: cannot file arc/x86/trace.h file -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] Re: [gentoo-user] cannot compile kvm
On Thu, Dec 24, 2009 at 9:14 AM, Xi Shen davidshe...@googlemail.com wrote: hi, i cannot access my computer now, so i can only tell you what i remember. i am using gentoo amd64, and the portage is updated. the kernel have kvm modules compiled. when i was trying to emerge kvm-kmod, it is said to have been masked, so i unmasked it. but while compiling, kvm-kmod failed with an error message like: cannot file arc/x86/trace.h file -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ here i attached the build log, and the emerge --info. hope some one would help me :D -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ build.log Description: Binary data emerge.info Description: Binary data
[gentoo-amd64] [gentoo-user] my gentoo amd64 does not have sound
hi, my laptop is thinkpad t61. according to the output of lspci -k 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel the driver is already loaded. and i have use alsaconf, and alsamixer to set the configuration. /etc/init.d/alsasound is started, but my system still does not have sound. what have i missed? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-dev] kde-base/kwin-4.3.3 failed to compile
hi, i am using gentoo amd64. i have just emerge --sync, and then emerge -auvND world, and got the following error while compiling kwin-4.3.3. /var/tmp/portage/kde-base/kwin-4.3.3/work/kwin-4.3.3/kwin/effects/logout/logout.cpp:115: error: 'frameDelay' was not declared in this scope /var/tmp/portage/kde-base/kwin-4.3.3/work/kwin-4.3.3/kwin/effects/logout/logout.cpp: In member function 'virtual void KWin::LogoutEffect::postPaintScreen()': /var/tmp/portage/kde-base/kwin-4.3.3/work/kwin-4.3.3/kwin/effects/logout/logout.cpp:236: error: 'frameDelay' was not declared in this scope [ 79%] Building CXX object kwin/CMakeFiles/kdeinit_kwin.dir/desktopchangeosd.o make[2]: *** [kwin/effects/CMakeFiles/kwin4_effect_builtins.dir/logout/logout.o] Error 1 i did not find much bug about kwin on gentoo bugz site. i have run revdep-rebuild, and it reported no broken package. i guess some package needs to rebuild, but i do not know how to find it. below is emerge --info: Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) = System uname: linux-2.6.30-gentoo-r4-x86_64-intel-r-_core-tm-2_cpu_44...@_2.00ghz-with-gentoo-1.12.13 Timestamp of tree: Wed, 11 Nov 2009 14:30:23 + distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d CXXFLAGS=-O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch GENTOO_MIRRORS=http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirrors.163.com/gentoo/; LANG=en_US LDFLAGS=-Wl,-O1 LINGUAS=en_US.UTF-8 zh_CN.UTF-8 en_US zh_CN MAKEOPTS=-j5 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=X accessibility acl alsa amd64 bash-completion berkdb bluetooth bzip2 cjk cli cracklib crypt cscope dbus dri fortran gdbm git gpm hal hvm iconv ipv6 java kde lm_sensors mmx modules mudflap multilib ncurses nls npp nptl nptlonly nsplugin openmp pam pcre perl png pppd python qt3support readline reflection samba session spl sse sse2 ssl subversion svg sysfs tcpd truetype unicode vim-syntax vmware xcb xorg zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en_US.UTF-8 zh_CN.UTF-8 en_US zh_CN USERLAND=GNU VIDEO_CARDS=nvidia vesa vmware Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64] [gentoo-dev] kde-base/kwin-4.3.3 failed to compile
great, thanks ;) On Thu, Nov 12, 2009 at 1:24 AM, Constantine Kardaris ckarda...@gmail.com wrote: On Wed, Nov 11, 2009 at 5:42 PM, Xi Shen davidshe...@googlemail.com wrote: hi, i am using gentoo amd64. i have just emerge --sync, and then emerge -auvND world, and got the following error while compiling kwin-4.3.3. /var/tmp/portage/kde-base/kwin-4.3.3/work/kwin-4.3.3/kwin/effects/logout/logout.cpp:115: error: 'frameDelay' was not declared in this scope /var/tmp/portage/kde-base/kwin-4.3.3/work/kwin-4.3.3/kwin/effects/logout/logout.cpp: In member function 'virtual void KWin::LogoutEffect::postPaintScreen()': /var/tmp/portage/kde-base/kwin-4.3.3/work/kwin-4.3.3/kwin/effects/logout/logout.cpp:236: error: 'frameDelay' was not declared in this scope [ 79%] Building CXX object kwin/CMakeFiles/kdeinit_kwin.dir/desktopchangeosd.o make[2]: *** [kwin/effects/CMakeFiles/kwin4_effect_builtins.dir/logout/logout.o] Error 1 i did not find much bug about kwin on gentoo bugz site. i have run revdep-rebuild, and it reported no broken package. i guess some package needs to rebuild, but i do not know how to find it. below is emerge --info: Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) = System uname: linux-2.6.30-gentoo-r4-x86_64-intel-r-_core-tm-2_cpu_44...@_2.00ghz-with-gentoo-1.12.13 Timestamp of tree: Wed, 11 Nov 2009 14:30:23 + distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d CXXFLAGS=-O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch GENTOO_MIRRORS=http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirrors.163.com/gentoo/; LANG=en_US LDFLAGS=-Wl,-O1 LINGUAS=en_US.UTF-8 zh_CN.UTF-8 en_US zh_CN MAKEOPTS=-j5 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=X accessibility acl alsa amd64 bash-completion berkdb bluetooth bzip2 cjk cli cracklib crypt cscope dbus dri fortran gdbm git gpm hal hvm iconv ipv6 java kde lm_sensors mmx modules mudflap multilib ncurses nls npp nptl nptlonly nsplugin openmp pam pcre perl png pppd python qt3support readline reflection samba session spl sse sse2 ssl subversion svg sysfs tcpd truetype unicode vim-syntax vmware xcb xorg zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en_US.UTF-8 zh_CN.UTF-8 en_US zh_CN USERLAND=GNU VIDEO_CARDS=nvidia vesa vmware Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ enable opengl useflag and try again http://bugs.gentoo.org/show_bug.cgi?id=281625 -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] got an error while emerging dev-python/setuptools-0.6.4
hi, i am using gentoo amd64, and have just changed my profile to default/linux/amd64/10.0 as it is recommended. then i ran emerge -auvND world, and got the following error while emerging dev-python/setuptools-0.6.4 * Installation of dev-python/setuptools-0.6.4 with Python 2.6... python2.6 setup.py build -b build-2.6 install --root=/var/tmp/portage/dev-python/setuptools-0.6.4/image/ --no-compile /usr/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message Traceback (most recent call last): File setup.py, line 56, in module from distribute_setup import _before_install ImportError: cannot import name _before_install below is my emerge --info: Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) = System uname: linux-2.6.30-gentoo-r4-x86_64-intel-r-_core-tm-2_cpu_44...@_2.00ghz-with-gentoo-1.12.13 Timestamp of tree: Fri, 06 Nov 2009 17:00:01 + distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d CXXFLAGS=-O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch GENTOO_MIRRORS=http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirrors.163.com/gentoo/; LANG=en_US LDFLAGS=-Wl,-O1 LINGUAS=en_US.UTF-8 zh_CN.UTF-8 en_US zh_CN MAKEOPTS=-j5 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=X accessibility acl alsa amd64 bash-completion berkdb bluetooth bzip2 cjk cli cracklib crypt cscope dbus dri fortran gdbm git gpm hal hvm iconv ipv6 java kde lm_sensors mmx modules mudflap multilib ncurses nls npp nptl nptlonly nsplugin openmp pam pcre perl png pppd python qt3support readline reflection samba session spl sse sse2 ssl subversion svg sysfs tcpd truetype unicode vim-syntax vmware xcb xorg zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en_US.UTF-8 zh_CN.UTF-8 en_US zh_CN USERLAND=GNU VIDEO_CARDS=nvidia vesa vmware Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64] Re: [gentoo-user] got an error while emerging dev-python/setuptools-0.6.4
thanks man, rerun emerge works. On Sat, Nov 7, 2009 at 5:48 PM, Duncan 1i5t5.dun...@cox.net wrote: Xi Shen posted on Sat, 07 Nov 2009 16:31:16 +0800 as excerpted: i am using gentoo amd64, and have just changed my profile to default/linux/amd64/10.0 as it is recommended. then i ran emerge -auvND world, and got the following error while emerging dev-python/setuptools-0.6.4 * Installation of dev-python/setuptools-0.6.4 with Python 2.6... python2.6 setup.py build -b build-2.6 install --root=/var/tmp/portage/dev-python/setuptools-0.6.4/image/ --no-compile /usr/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message Traceback (most recent call last): File setup.py, line 56, in module from distribute_setup import _before_install ImportError: cannot import name _before_install Go to bugs.gentoo.org, search for ALL dev-pyton/setuptools, and check the bugs from say 28 on. In this case, the bottom four bugs as of this writing are all duplicates on this, with http://bugs.gentoo.org/show_bug.cgi?id=292095 ... being the one the other three are duplicates off of. Doing that gets you about the same information you're going to get by posting here, only you don't have to wait for a reply to get it. In this case, the bug should be already fixed. Resync and try again. If it does happen to still be an issue after a sync and retry, then you may have another bug to worry about. File it and mention that you DID sync and try again, and either your mirror is lagging (bug in the mirror infrastructure) or there's another ebuild bug to worry about. -- Duncan - List replies preferred. No HTML msgs. Every nonfree program has a lord, a master -- and if you use the program, he is your master. Richard Stallman -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] how to set to tor bridge relay?
hi, i am using gentoo x64. i want to setup a tor bridge relay. but i cannot get it to work. in the log file, i can only see notices like this: [notice] No current certificate known for authority moria1; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority tor26; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority dizum; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority ides; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority gabelmoo; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority dannenberg; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority moria1; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority tor26; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority dizum; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority ides; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority gabelmoo; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority dannenberg; launching request. i have enabled debug log, and whenever i tried to access a web site, i got this in the log: [info] TLS error: unexpected close while handshaking Nov 02 22:20:38.683 [info] connection_tls_continue_handshake(): tls error [unexpected close]. breaking connection. i am behind a router, and i have set a forward rule on the route to route connections to port 443 to my gentoo machine. have i missed something? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] xen and ext4
hi, i am using gentoo x64. i want to try xen, but my file system is ext4, and i cannot fine ext4 support while compiling xen-source. have i missed something, or ext4 is not supported by xen for now? when will it be available? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] [gentoo-user] ffmpeg-0.5-r1 cannot find libfaad.so.1 when faad USE flag enable
hi, i am using gentoo x64, just have ffmpeg emerged, and successfully emerged -u world. but when i ran ffmpeg -formats, i got a error message saying that the libfaad.so.1 cannot be found. i check my system, and i only have faad2 emerged. actually, the whole portage tree does not have something like faad1. what lib should i emerge to fix this? currently, i created a symlink from libfaad.so.1 to libfaad.so.2.0.0, and it *looks* like working. maybe there's something wrong with the package dependence? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] Re: [gentoo-dev]dev-libs/boost-1.35.0-r2 fails to compile
i have re-checked the system, an i think it is the distcc that caused this problem. i am using cross compile on distcc, and distcc installed different versions of x86_64 gcc version. one is 4.4.1, the other is 4.3.2. is there any convenient way to ask the distcc to install the specific gcc version? On Wed, Sep 30, 2009 at 9:22 AM, Xi Shen davidshe...@googlemail.com wrote: hi, the error message given in the build.log is so general, i do not even know if it is something wrong with my system, or it is a bug. i used distcc, and set DISTCC_VERBOSE=1. but this error also happens when i am not using distcc. hope someone can help me look at this issue. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] crossdev installs masked version of gcc by default
hi, i use crossdev -t x86_64 to install cross compile tool for distcc. but the crossdev installed the lasted masked version of gcc, which is gcc-4.4.1. but my working machine, is using the stable version, which gcc-4.3.2-r3. and i found this really cause compile problems. how to make crossdev to install the correct version of gcc? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64] Re: crossdev installs masked version of gcc by default
i figured out myself ;) On Wed, Sep 30, 2009 at 11:29 AM, Xi Shen davidshe...@googlemail.com wrote: hi, i use crossdev -t x86_64 to install cross compile tool for distcc. but the crossdev installed the lasted masked version of gcc, which is gcc-4.4.1. but my working machine, is using the stable version, which gcc-4.3.2-r3. and i found this really cause compile problems. how to make crossdev to install the correct version of gcc? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64]corss compile 64bit on 32bit os
thanks, very helpful. On Thu, Sep 17, 2009 at 10:26 AM, Frank Peters frank.pet...@comcast.net wrote: On Thu, 17 Sep 2009 09:04:22 +0800 Xi Shen davidshe...@googlemail.com wrote: i searched for a while, but cannot find the reference of that syntax. thanks a lot. The ordinary syntax is ${string:position:length}, but in the ordinary case the position is referenced from the LEFT end of the string. To reference from the RIGHT end of the string, as in the Gentoo script, a negative value must be specified, but the negative value has to the result of an EXPRESSION, hence the apparently unusual syntax. Why? See question E12 at this link: http://www.faqs.org/faqs/unix-faq/shell/bash/ Just try it out. Copy the following two lines to a file, give the file executable permission, and create different symbolic links to it. Then invoke the file using any of the symlinks. #! /bin/bash echo ${0:$[-2]} Frank Peters -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
[gentoo-amd64]corss compile 64bit on 32bit os
Hi, i want to use discc to speed my emerge compilation. but the problem is that i have 32bit and 64bit mixed environment, and some of the cpus do not support amd64 mode. so i just wonder if i could do cross compile. has anyone done this before? any suggestions/comments are welcomed. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64]corss compile 64bit on 32bit os
great! thanks a lot. why i did not find this out, haha ;) On Wed, Sep 16, 2009 at 8:08 PM, malc mlash...@gmail.com wrote: On Wed, Sep 16, 2009 at 9:41 AM, Xi Shen davidshe...@googlemail.com wrote: i want to use discc to speed my emerge compilation. but the problem is that i have 32bit and 64bit mixed environment, and some of the cpus do not support amd64 mode. so i just wonder if i could do cross compile. has anyone done this before? any suggestions/comments are welcomed. Did you try - http://www.gentoo.org/doc/en/cross-compiling-distcc.xml ? Cheers, malc. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64]corss compile 64bit on 32bit os
when reading that doc, i cannot understand the following script #!/bin/bash exec /usr/lib/distcc/bin/sparc-unknown-linux-gnu-g${0:$[-2]} $@ what does the : do here? On Wed, Sep 16, 2009 at 9:14 PM, Xi Shen davidshe...@googlemail.com wrote: great! thanks a lot. why i did not find this out, haha ;) On Wed, Sep 16, 2009 at 8:08 PM, malc mlash...@gmail.com wrote: On Wed, Sep 16, 2009 at 9:41 AM, Xi Shen davidshe...@googlemail.com wrote: i want to use discc to speed my emerge compilation. but the problem is that i have 32bit and 64bit mixed environment, and some of the cpus do not support amd64 mode. so i just wonder if i could do cross compile. has anyone done this before? any suggestions/comments are welcomed. Did you try - http://www.gentoo.org/doc/en/cross-compiling-distcc.xml ? Cheers, malc. -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-amd64]corss compile 64bit on 32bit os
i searched for a while, but cannot find the reference of that syntax. thanks a lot. On Thu, Sep 17, 2009 at 12:27 AM, Frank Peters frank.pet...@comcast.net wrote: On Wed, 16 Sep 2009 21:36:37 +0800 Xi Shen davidshe...@googlemail.com wrote: when reading that doc, i cannot understand the following script #!/bin/bash exec /usr/lib/distcc/bin/sparc-unknown-linux-gnu-g${0:$[-2]} $@ what does the : do here? The construction ${0:$[-2]} will return the last two characters of the $0 string, with the $0 string being the name of the called script. These last two characters are appended to the string sparc-unknown-linux-gnu-g. After glancing at the section in cross-compiling-distcc.xml, it seems that this particular script will be called via a symlink, which will be one of gcc, g++, c++. The last two chars of the link name are thus appended to sparc-unknown-linux-gnu-g to form the name of an execuatable, e.g. /usr/lib/distcc/bin/sparc-unknown-linux-gnu-gcc. Frank Peters -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/