LinuxSir.cn,穿越时空的Linuxsir!

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

kdelibs编译不过,大家有没有碰到过这情况?

[复制链接]
发表于 2011-6-7 22:21:18 | 显示全部楼层 |阅读模式
错误信息如下

>>> Verifying ebuild manifests
>>> Running pre-merge checks for kde-base/kdelibs-4.6.2-r3
* ERROR: kde-base/kdelibs-4.6.2-r3 failed (pretend phase):
*   Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837).
*
* Call stack:
*                 ebuild.sh, line  56:  Called pkg_pretend
*   kdelibs-4.6.2-r3.ebuild, line 146:  Called die
* The specific snippet of code:
*      [[ $(gcc-major-version) -lt 4 ]] || \
*                      ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
*              && die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
*
* If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.6.2-r3',
* the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.6.2-r3'.
* The complete build log is located at '/tmp/tmpTYwIbB/portage/kde-base/kdelibs-4.6.2-r3/temp/build.log'.
* The ebuild environment file is located at '/tmp/tmpTYwIbB/portage/kde-base/kdelibs-4.6.2-r3/temp/die.env'.
* S: '/tmp/tmpTYwIbB/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2'

* Messages for package kde-base/kdelibs-4.6.2-r3:

* ERROR: kde-base/kdelibs-4.6.2-r3 failed (pretend phase):
*   Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837).
*
* Call stack:
*                 ebuild.sh, line  56:  Called pkg_pretend
*   kdelibs-4.6.2-r3.ebuild, line 146:  Called die
* The specific snippet of code:
*      [[ $(gcc-major-version) -lt 4 ]] || \
*                      ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
*              && die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
*
* If you need support, post the output of 'emerge --info =kde-base/kdelibs-4.6.2-r3',
* the complete build log and the output of 'emerge -pqv =kde-base/kdelibs-4.6.2-r3'.
* The complete build log is located at '/tmp/tmpTYwIbB/portage/kde-base/kdelibs-4.6.2-r3/temp/build.log'.
* The ebuild environment file is located at '/tmp/tmpTYwIbB/portage/kde-base/kdelibs-4.6.2-r3/temp/die.env'.
* S: '/tmp/tmpTYwIbB/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2'
发表于 2011-6-7 22:33:28 | 显示全部楼层
参见以下网址:
http://forums.gentoo.org/viewtopic-t-878027.html
  1. emerge --info =kde-base/kdelibs-4.6.2-r3
  2. Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.3.4, libc-0-r0, 2.6.36-gentoo-r5 x86_64)
  3. =================================================================
  4. System Settings
  5. =================================================================
  6. System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-gentoo-1.12.14
  7. Timestamp of tree: Fri, 13 May 2011 16:30:01 +0000
  8. app-shells/bash: 4.1_p9
  9. dev-java/java-config: 2.1.11-r3
  10. dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
  11. dev-util/cmake: 2.8.4
  12. sys-apps/baselayout: 1.12.14-r1
  13. sys-apps/sandbox: 2.4
  14. sys-devel/autoconf: 2.13, 2.65-r1
  15. sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
  16. sys-devel/binutils: 2.20.1-r1

  17. sys-devel/gcc: 4.3.4, 4.4.5

  18. sys-devel/gcc-config: 1.4.1-r1
  19. sys-devel/libtool: 2.2.10
  20. sys-devel/make: 3.81-r2
  21. sys-kernel/linux-headers: 2.6.36.1
  22. sys-libs/glibc: 2.11.3
  23. virtual/os-headers: 0
复制代码

这个人已经有gcc4.4了,如果你没有,就自己装个呗。
回复 支持 反对

使用道具 举报

发表于 2011-6-8 10:40:27 | 显示全部楼层
Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6

不好意思,gcc-4.3及低于此版本的gcc都无法编译KDE SC 4.6。
回复 支持 反对

使用道具 举报

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

本版积分规则

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