View previous topic :: View next topic |
Author |
Message |
wellwong n00b
Joined: 22 Mar 2011 Posts: 6
|
Posted: Tue Mar 22, 2011 3:21 am Post subject: 求助!gentoo安装compiz报错,无法安装ccsm |
|
|
>>> Emerging (1 of 1) x11-apps/ccsm-0.8.4-r1
!!! Directory does not exist: '/usr/lib/ccache/bin'
!!! Disabled FEATURES='ccache'
* ccsm-0.8.4.tar.bz2 RMD160 SHA1 SHA256 size ... [ ok ]
* Package: x11-apps/ccsm-0.8.4-r1
* Repository: gentoo
* Maintainer: desktop-effects@gentoo.org
* USE: elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking ccsm-0.8.4.tar.bz2 to /var/tmp/portage/x11-apps/ccsm-0.8.4-r1/work
>>> Source unpacked in /var/tmp/portage/x11-apps/ccsm-0.8.4-r1/work
>>> Compiling source in /var/tmp/portage/x11-apps/ccsm-0.8.4-r1/work/ccsm-0.8.4 ...
python3.1 setup.py build --prefix=/usr
File "setup.py", line 66
print "Uninstalling %s" % file
^
SyntaxError: invalid syntax
* ERROR: x11-apps/ccsm-0.8.4-r1 failed:
* Building failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3214: Called distutils_src_compile '--prefix=/usr'
* environment, line 835: Called die
* The specific snippet of code:
* "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
*
* If you need support, post the output of 'emerge --info =x11-apps/ccsm-0.8.4-r1',
* the complete build log and the output of 'emerge -pqv =x11-apps/ccsm-0.8.4-r1'.
* The complete build log is located at '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/temp/environment'.
* S: '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/work/ccsm-0.8.4'
>>> Failed to emerge x11-apps/ccsm-0.8.4-r1, Log file:
>>> '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/temp/build.log'
* Messages for package x11-apps/ccsm-0.8.4-r1:
* ERROR: x11-apps/ccsm-0.8.4-r1 failed:
* Building failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3214: Called distutils_src_compile '--prefix=/usr'
* environment, line 835: Called die
* The specific snippet of code:
* "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
*
* If you need support, post the output of 'emerge --info =x11-apps/ccsm-0.8.4-r1',
* the complete build log and the output of 'emerge -pqv =x11-apps/ccsm-0.8.4-r1'.
* The complete build log is located at '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/temp/environment'.
* S: '/var/tmp/portage/x11-apps/ccsm-0.8.4-r1/work/ccsm-0.8.4' |
|
Back to top |
|
|
jojoyakira n00b
Joined: 04 May 2007 Posts: 17 Location: Taiwan
|
Posted: Tue Mar 22, 2011 9:43 am Post subject: |
|
|
估計是 python 3.1 的問題,使用 eselect 換到 python 2.6 試試。
我也有安裝 x11-apps/ccsm:
Code: | $ eix x11-apps/ccsm
[I] x11-apps/ccsm
Available versions: (~)0.8.4 (~)0.8.4-r1
Installed versions: 0.8.4-r1(15時13分53秒 西元2010年04月03日)
Homepage: http://www.compiz.org/
Description: Compizconfig Settings Manager |
用的就是 python 2.6:
Code: | $ eselect python list
Available Python interpreters:
[1] python2.6 *
[2] python3.1 |
_________________ Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
Laptop:ASUS L8400C,OS: Gentoo GNU/Linux |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|