LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo 下 eclipse 插件CDT安装问题

[复制链接]
发表于 2007-4-30 15:51:01 | 显示全部楼层 |阅读模式
使用emerge -av eclipse-cdt-bin命令安装插件,系统提示我没有找到eclipse。
很奇怪明明我已经装了eclipse,不知道是什么原因?
>>> Unpacking source...
>>> Unpacking org.eclipse.cdt-3.0.2-linux.x86_64.tar.gz to /var/tmp/portage/dev-util/eclipse-cdt-bin-3.0.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-util/eclipse-cdt-bin-3.0.2/work/eclipse ...
* eclipse-cdt-bin-3.0.2 is a binary package
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/eclipse-cdt-bin-3.0.2

>>> Install eclipse-cdt-bin-3.0.2 into /var/tmp/portage/dev-util/eclipse-cdt-bin-3.0.2/image/ category dev-util
* Cannot find any Eclipse SDK supporting slot 3.1

!!! ERROR: dev-util/eclipse-cdt-bin-3.0.2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 3284:   Called src_install
  eclipse-cdt-bin-3.0.2.ebuild, line 27:   Called die

!!! Failed to find suitable Eclipse installation
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-util/eclipse-cdt-bin-3.0.2/temp/build.log'.
发表于 2007-4-30 19:16:20 | 显示全部楼层
the error message is very clear. it needs sdk v3.1, while yours is 3.2

cdt is sensitive to sdk's minor version. you can install the latest cdt from help->software updates
回复 支持 反对

使用道具 举报

发表于 2007-4-30 19:42:17 | 显示全部楼层
安装 eclipse+cdt 建议直接从 www.eclipse.org 下载后安装,portage 中的好久没有更新了,而且包还不全。
回复 支持 反对

使用道具 举报

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

本版积分规则

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