+ -
当前位置:首页 → 问答吧 → [已解决][求助]关于gentoo输入法的问题...

[已解决][求助]关于gentoo输入法的问题...

时间:2009-01-22

来源:互联网

现在用的是kde4环境
按照网上的教程
emerge -av scim skim scim-pinyin
在emerge skim时出了错,报告如下:

>>> Emerging (1 of 1) app-i18n/skim-1.4.5-r2
--- Invalid atom in /etc/portage/package.use: ?app-i18n/scim-python
--- Invalid atom in /etc/portage/package.keywords: ?app-i18n/scim-python
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/local/layman/gentoo-china'
* skim-1.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking skim-1.4.5.tar.bz2 to /var/tmp/portage/app-i18n/skim-1.4.5-r2/work
* Applying skim-1.4.5-asneeded.patch ... [ ok ]
* Applying skim-1.4.5-kde3.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/app-i18n/skim-1.4.5-r2/work
>>> Compiling source in /var/tmp/portage/app-i18n/skim-1.4.5-r2/work/skim-1.4.5 ...
Checking for Python : /usr/bin/python
Checking for SCons : Use Bundled scons.
** installation prefix for the project set to: /usr
Checking for kde-config : kde-config was NOT found in your PATH
Make sure kde is installed properly
(missing package kdebase-devel?)
*
* ERROR: app-i18n/skim-1.4.5-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2953: Called die
* The specific snippet of code:
* ./configure prefix=/usr libdir=/usr/$(get_libdir) || die;
* The die message:
* (no error message)
*
* 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/app-i18n/skim-1.4.5-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-i18n/skim-1.4.5-r2/temp/environment'.
*

>>> Failed to emerge app-i18n/skim-1.4.5-r2, Log file:

>>> '/var/tmp/portage/app-i18n/skim-1.4.5-r2/temp/build.log'

* Messages for package app-i18n/skim-1.4.5-r2:

*
* ERROR: app-i18n/skim-1.4.5-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2953: Called die
* The specific snippet of code:
* ./configure prefix=/usr libdir=/usr/$(get_libdir) || die;
* The die message:
* (no error message)
*
* 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/app-i18n/skim-1.4.5-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-i18n/skim-1.4.5-r2/temp/environment'.
*

黑体字部分说我没有kde-config,我locate了一下发现了kde3的/usr/kde/3.5/bin/kde-config和kde4的/usr/bin/kde4-config
它提示我说kdebase-devel没有装,我emerge 后发现没有这个包,网上只有rpm的包...
同样源码装scim-python时也不行,一样的错误

大家指导一下吧,折腾了好久,实在是没办法了...

作者: lixinyu2268   发布时间: 2009-01-22

kdelibs?

作者: hezhit   发布时间: 2009-01-22

scim自带有gtk的前端界面,没有skim一样用

作者: zhllg   发布时间: 2009-01-22

kdelibs也装了,这个错误信息就是kdelibs装过后的,很郁闷,那个kdebase-devel居然emerge不到....

作者: lixinyu2268   发布时间: 2009-01-22

引用:
作者: zhllg
scim自带有gtk的前端界面,没有skim一样用
scim安装成功了,可是emerge scim-pinyin时对skim有依赖关系,那个错误信息解决不了skim就装不上...

作者: lixinyu2268   发布时间: 2009-01-22

USE=-kde就不依赖skim了

作者: hezhit   发布时间: 2009-01-22

引用:
作者: hezhit
USE=-kde就不依赖skim了
多谢,我再试试去~

作者: lixinyu2268   发布时间: 2009-01-22

输入法还有ibus和fcitx,个人觉得都比scim好。

作者: zhou3345   发布时间: 2009-01-22

你需要更新环境变量,qt应该会在/etc/env.d下生成一个新的文件:
代码:
env-update && source /etc/profile && emerge -av1 skim

作者: Blahster   发布时间: 2009-01-22

引用:
作者: Blahster
你需要更新环境变量,qt应该会在/etc/env.d下生成一个新的文件:
代码:
env-update && source /etc/profile && emerge -av1 skim
呵呵,曲线救国,装了个ibus,多谢您了~

作者: lixinyu2268   发布时间: 2009-01-22

我也在用ibus,尝新鲜安装的。

作者: tlze   发布时间: 2009-01-22

找不到kde-config很有可能是kde-3.5和kde-4的问题。我之前升级时也有找不到的经验因为kde4用的是kde4-config。

作者: mathfeel   发布时间: 2009-01-22

Untitled # emerge -av ibus

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "app-i18n/ibus" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-i18n/ibus-0.1.1.20081023 (masked by: ~x86 keyword)
- app-i18n/ibus-0.1.1.20081016 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

作者: Untitled   发布时间: 2009-01-23

引用:
作者: Untitled
Untitled # emerge -av ibus

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "app-i18n/ibus" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-i18n/ibus-0.1.1.20081023 (masked by: ~x86 keyword)
- app-i18n/ibus-0.1.1.20081016 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
在/etc/make.conf里添加ACCETP_KEYWORDS="~x86"

作者: lixinyu2268   发布时间: 2009-01-23

还是老老实实用SCIM,感觉这个输入法还是不错,不比Google或者MS差,整句输入还可以。

作者: Untitled   发布时间: 2009-01-23

skim 跟上KDE4 步伐了?

scim 用户可以尝试scim-bridge

作者: MeaCulpa   发布时间: 2009-01-23