LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]KDE4安装出错,请教解决方法

[复制链接]
发表于 2007-6-24 02:38:12 | 显示全部楼层 |阅读模式
请问KDE4应该如何安装?
我用layman -a kde && layman -s kde && emerge --sync && update-eix
然后eix kdebase
看不到 kdebase-3.90.1.ebuild、 kdebase-9999.4.ebuild的新版本,
只能看到~3.5.7的版本。
我打开kdebase-9999.4.ebuild,发现他的keywords=""。
请问我如何才能够通过emerge安装KDE4呢?
发表于 2007-6-24 03:31:46 | 显示全部楼层
echo "category/package **" >> /etc/portage/package.keywords
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-24 04:30:28 | 显示全部楼层
I do,but not work.

localhost gentoo # cat /etc/portage/package.keywords
x11-libs/libXft ~x86
app-i18n/zhcon ~x86
app-i18n/scim-bridge ~x86
app-i18n/scim ~x86
media-video/totem ~x86
media-fonts/wqy-bitmapfont ~x86
# x11-drivers/nvidia-drivers ~x86
sys-kernel/gentoo-sources ~x86
net-www/libflashsupport ~x86
www-client/opera ~x86
net-im/pidgin ~x86
# KDE 4 SVN ebuilds keywords
=kde-base/kdelibs-9999.4 **
=kde-base/kdepimlibs-9999.4 **
=kde-base/kdebase-9999.4 **
=kde-base/kdeadmin-9999.4 **
=kde-base/kdeartwork-9999.4 **
=kde-base/kdeedu-9999.4 **
=kde-base/kdegames-9999.4 **
=kde-base/kdegraphics-9999.4 **
=kde-base/kdemultimedia-9999.4 **
=kde-base/kdenetwork-9999.4 **
=kde-base/kdepim-9999.4 **
=kde-base/kdesdk-9999.4 **
=kde-base/kdetoys-9999.4 **
=kde-base/kdeutils-9999.4 **
=kde-base/kdeaddons-9999.4 **
# KDE 4 support libs
=app-crypt/qca-9999 **
=dev-libs/soprano-9999 **
=media-libs/taglib-9999 **
=net-libs/telepathy-qt-9999 **
=net-voip/tapioca-qt-9999 **
=sci-libs/indilib-0.4 **
=sci-libs/eigen-1.0.5
=lib-ml/facile-1.1 **
=app-text/poppler-9999 **
=app-text/poppler-bindings-9999 **
=x11-libs/qt-4.3.0_rc1 **
=kde-misc/strigi-9999 **
localhost gentoo # eix kdelibs-9999
No matches found.
localhost gentoo # eix kdelibs
kde-base/kdelibs
     Available versions:  (3.5)  ~3.5.5-r4 3.5.5-r10 ~3.5.6-r7 ~3.5.6-r8 ~3.5.6-r9 ~3.5.7
     Installed versions:  3.5.5-r10(3.5)(02时50分50秒 2007年05月16日)(acl alsa arts -avahi cups -debug -doc -elibc_FreeBSD fam -jpeg2k -kdeenablefinal -kdehiddenvisibility kerberos kernel_linux -legacyssl -linguas_he -lua -openexr spell ssl tiff -utempter -xinerama -zeroconf)
     Homepage:            http://www.kde.org/
     Description:         KDE libraries needed by all KDE programs.

localhost gentoo # emerge "=kde-base/kdebase-9999.4" -pv

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

Calculating dependencies -
emerge: there are no ebuilds to satisfy "=kde-base/kdebase-9999.4".
回复 支持 反对

使用道具 举报

发表于 2007-6-24 06:57:52 | 显示全部楼层
没有把overlay加进去吧?
liqi@parrot ~ $ cat /etc/make.conf|grep OVER
[color="Red"]PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/kde"
liqi@parrot ~ $
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-24 09:42:56 | 显示全部楼层
我以为make.conf有source语句引用,不用在写了呢,谢谢
gentoo@localhost ~ $ cat /etc/make.conf|grep source
source /usr/portage/local/layman/make.conf
gentoo@localhost ~ $ cat /usr/portage/local/layman/make.conf
PORTDIR_OVERLAY="
/usr/portage/local/layman/gentoo-china
/usr/portage/local/layman/kde
$PORTDIR_OVERLAY
"
gentoo@localhost ~ $
还有,除了kdebase之外,安装KDE4还需要安装什么包?
回复 支持 反对

使用道具 举报

发表于 2007-6-24 10:12:34 | 显示全部楼层
Post by gkwangdh
我以为make.conf有source语句引用,不用再写了呢

本来就不用再写了啊。

你可能是因为用了PORTDIR_OVERLAY,而导致
source /usr/portage/local/layman/make.conf 无效,
当然这只是一个猜测,并没有证实过。
我在/etc/make.conf中删掉了所有的PORTDIR_OVERLAY行,自己的overlay都是加在
/usr/portage/local/layman/make.conf 中的。一切正常。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-24 17:25:11 | 显示全部楼层
在安装kdelibs这里失败了,不知如何继续,望高手指点
localhost kdelibs # emerge kdebase
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 3) kde-base/kdelibs-9999.4 to /
* checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
* checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
* checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
*
* WARNING! This is an experimental ebuild of the kdelibs KDE4 SVN tree.
* Use at your own risk. Do _NOT_ file bugs at bugs.gentoo.org because
* of this ebuild!
*
>>> Unpacking source...
* subversion update start -->
*      repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
svn: 工作拷贝“.”被锁定了
svn:请执行“svn cleanup”以移去锁定 (输入“svn help cleanup”以取得详细说明)

!!! ERROR: kde-base/kdelibs-9999.4 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_unpack
  ebuild.sh, line 752:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  ebuild.sh, line 1305:   Called kde4svn_src_unpack
  kde4svn.eclass, line 19:   Called subversion_src_unpack
  subversion.eclass, line 274:   Called subversion_fetch
  subversion.eclass, line 193:   Called die

!!! subversion.eclass: can't update from svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs.
!!! 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/kde-base/kdelibs-9999.4/temp/build.log'.

This ebuild used the following eclasses from overlays:

  /usr/portage/local/layman/kde/eclass/kde4-base.eclass
  /usr/portage/local/layman/kde/eclass/cmake-utils.eclass
  /usr/portage/local/layman/kde/eclass/kde4-functions.eclass
  /usr/portage/local/layman/kde/eclass/kde4svn.eclass

!!! This ebuild is from an overlay: '/usr/portage/local/layman/kde'
localhost kdelibs #
回复 支持 反对

使用道具 举报

发表于 2007-6-24 18:31:58 | 显示全部楼层
svn: 工作拷贝“.”被锁定了
svn:请执行“svn cleanup”以移去锁定 (输入“svn help cleanup”以取得详细说明)

cd /usr/portage/distfiles/svn-src/kdelibs
svn cleanup
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-24 18:37:35 | 显示全部楼层
按照zhllg的方法做了,显示
localhost gentoo # cd /usr/portage/distfiles/svn-src/kdelibs
localhost kdelibs # svn cleanup
svn: “.”并不是工作拷贝目录
localhost kdelibs #
回复 支持 反对

使用道具 举报

发表于 2007-6-24 18:58:03 | 显示全部楼层
把/usr/portage/distfiles/svn-src这个目录删掉
回复 支持 反对

使用道具 举报

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

本版积分规则

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