LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 637|回复: 4

求助!gentoo安装compiz报错,无法安装ccsm

[复制链接]
发表于 2011-3-22 09:55:16 | 显示全部楼层 |阅读模式
>>> 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'
发表于 2011-3-26 02:12:40 | 显示全部楼层
似乎是因为你用了Python3来编译的。
换回Python2试试看
回复 支持 反对

使用道具 举报

发表于 2011-3-27 15:33:35 | 显示全部楼层
用eselect python 来切换,或者python-updater一下
永远不要手动干掉python,很容易悲剧。
回复 支持 反对

使用道具 举报

发表于 2011-3-27 17:27:08 | 显示全部楼层
另外,你的 ccache 没装。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-28 08:48:38 | 显示全部楼层
非常感谢搂上几位!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表