按照网上的教程
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

* checking ebuild checksums

* checking auxfile checksums

* checking miscfile checksums

>>> 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时也不行,一样的错误
大家指导一下吧,折腾了好久,实在是没办法了...