LinuxSir.cn,穿越时空的Linuxsir!

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

谁能解释一下gentoo_rules.cmake是什么?装kde出错了。

[复制链接]
发表于 2009-5-15 08:11:49 | 显示全部楼层 |阅读模式
小弟新来,还望各位多多关照。

有几个问题:
1、如果想安装一个完整的kde 4.2,是不是要安kde-meta
2、有没有精简版的kde?好像gnome-light一样?
3、emerge -avubDN kde-meta --keep-going时有很多个包出现如下错误:

=====================================================

>>>[color="Red"] Install akonadi-4.2.3 into /vartmp/portage/kde-base/akonadi-4.2.3/image/ category kde-base
>>> Working in BUILD_DIR: "/vartmp/portage/kde-base/akonadi-4.2.3/work/akonadi-4.2.3_build"
make -j2 install DESTDIR=/vartmp/portage/kde-base/akonadi-4.2.3/image/
[color="Red"]CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:59 (INCLUDE):
  [color="Red"]include could not find load file:

    /vartmp/portage/kde-base/akonadi-4.2.3/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:50 (INCLUDE):
  include could not find load file:

    /vartmp/portage/kde-base/akonadi-4.2.3/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)

===================================================

为什么会没有gentoo_rules.cmake?该怎样寻找错误原因?
发表于 2009-5-15 08:32:56 | 显示全部楼层
回答你第二个问题:
你可以看看http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
使用portage2.2的sets来选择安装。不过需要unmask portage2.2
或者安装kde-base/kdebase-startkde 4.2.3,这时可以进入kde了 ,然后选择你想安装的其它kde应用程序。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-15 08:57:57 | 显示全部楼层
Post by wzl12356;1987365
回答你第二个问题:
你可以看看http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
使用portage2.2的sets来选择安装。不过需要unmask portage2.2
或者安装kde-base/kdebase-startkde 4.2.3,这时可以进入kde了 ,然后选择你想安装的其它kde应用程序。


多谢回复。

我的kde-meta就有六七个包没装了,只有3中的那个错误以及一些依赖。关键是我对这个错误毫无头绪,bugzilla里也找不到(可能是关键字不对)。cmake也重新emerge了,还加上了qt4的USE,可是问题依旧。
回复 支持 反对

使用道具 举报

发表于 2009-5-15 10:21:52 | 显示全部楼层
1 kde-meta 的 description 如下, 装这个应该就是全的了。
Description:         KDE - merge this to pull in all non-developer, split kde-base/* packages
2 有的。 emerge kde-base/kdebase-startkde,我就是这么装的。
3 你最好不要用那个 keep-going 执行一下,然后把完整一点的错误贴一个看看。

Post by jsun;1987354
小弟新来,还望各位多多关照。

有几个问题:
1、如果想安装一个完整的kde 4.2,是不是要安kde-meta
2、有没有精简版的kde?好像gnome-light一样?
3、emerge -avubDN kde-meta --keep-going时有很多个包出现如下错误:

=====================================================

>>> Install akonadi-4.2.3 into /vartmp/portage/kde-base/akonadi-4.2.3/image/ category kde-base
>>> Working in BUILD_DIR: "/vartmp/portage/kde-base/akonadi-4.2.3/work/akonadi-4.2.3_build"
make -j2 install DESTDIR=/vartmp/portage/kde-base/akonadi-4.2.3/image/
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:59 (INCLUDE):
  include could not find load file:

    /vartmp/portage/kde-base/akonadi-4.2.3/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:50 (INCLUDE):
  include could not find load file:

    /vartmp/portage/kde-base/akonadi-4.2.3/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)

===================================================

为什么会没有gentoo_rules.cmake?该怎样寻找错误原因?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-15 11:02:07 | 显示全部楼层
Post by wd_afei;1987404
1 kde-meta 的 description 如下, 装这个应该就是全的了。
Description:         KDE - merge this to pull in all non-developer, split kde-base/* packages
2 有的。 emerge kde-base/kdebase-startkde,我就是这么装的。
3 你最好不要用那个 keep-going 执行一下,然后把完整一点的错误贴一个看看。


出错信息就是这样,编译已经结束,有明确的compiling completed字样。好像是安装的时候出了问题。提示说找不到gentoo_rules.cmake这个文件,我按提示的位置去找,也确实没有。

看样子好像是缺少了一个配置性质的文件。不知是哪里出错。一会我把完整的出错信息贴出来。
回复 支持 反对

使用道具 举报

发表于 2009-5-15 11:55:16 | 显示全部楼层
晕,我还以为是你摘了几句出来的。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-15 12:38:37 | 显示全部楼层
>>> Emerging (3 of 12) kde-base/marble-4.2.3
* kdeedu-4.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                             [ ok ]
* checking ebuild checksums ;-) ...                                                                                                [ ok ]
* checking auxfile checksums ;-) ...                                                                                               [ ok ]
* checking miscfile checksums ;-) ...                                                                                              [ ok ]
>>> Checking kdeedu-4.2.3.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'marble-4.2.3' is already prepared; skipping.
>>> Remove '/vartmp/portage/kde-base/marble-4.2.3/.prepared' to force prepare.
>>> It appears that 'marble-4.2.3' is already configured; skipping.
>>> Remove '/vartmp/portage/kde-base/marble-4.2.3/.configured' to force configuration.
>>> It appears that 'marble-4.2.3' is already compiled; skipping.
>>> Remove '/vartmp/portage/kde-base/marble-4.2.3/.compiled' to force compilation.
>>> Test phase [not enabled]: kde-base/marble-4.2.3

>>> Install marble-4.2.3 into /vartmp/portage/kde-base/marble-4.2.3/image/ category kde-base
>>> Working in BUILD_DIR: "/vartmp/portage/kde-base/marble-4.2.3/work/marble-4.2.3_build"
make -j2 install DESTDIR=/vartmp/portage/kde-base/marble-4.2.3/image/
CMake Error at /usr/share/cmake/Modules/CMakeCInformation.cmake:59 (INCLUDE):
  include could not find load file:

    /vartmp/portage/kde-base/marble-4.2.3/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:50 (INCLUDE):
  include could not find load file:

    /vartmp/portage/kde-base/marble-4.2.3/temp/gentoo_rules.cmake
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.0
-- Found KDE 4.2 include dir: /usr/kde/4.2/include
-- Found KDE 4.2 library dir: /usr/kde/4.2/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/kde/4.2/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Not building with Gpsd Support
-- not building with gpsd support
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ Gmm++
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ Experimental Python binding support for the Marble library: Experimental Python binding support for the Marble library <http://techbase.kde.org/Development/Languages/Python>
Experimental Python binding support for the Marble library. To activate it pass -DEXPERIMENTAL_PYTHON_BINDINGS=TRUE to cmake.
-----------------------------------------------------------------------------

-- <<< Gentoo configuration >>>
Build type: Gentoo
Install path: /usr/kde/4.2

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
*
* ERROR: kde-base/marble-4.2.3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_install
*             environment, line 3791:  Called kde4-meta_src_install
*             environment, line 2976:  Called kde4-base_src_install
*             environment, line 2642:  Called cmake-utils_src_install
*             environment, line 1039:  Called die
* The specific snippet of code:
*       emake install DESTDIR="${D}" || die "Make install failed";
*  The die message:
*   Make install failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/vartmp/portage/kde-base/marble-4.2.3/temp/build.log'.
* The ebuild environment file is located at '/vartmp/portage/kde-base/marble-4.2.3/temp/environment'.
*

>>> Failed to emerge kde-base/marble-4.2.3, Log file:

>>>  '/vartmp/portage/kde-base/marble-4.2.3/temp/build.log'


详细的输出就是这样。还有其他几个包,都是一样的问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-15 12:39:53 | 显示全部楼层
这是emerge --info
<chroot> myhost / # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-ARCH i686)
=================================================================
System uname: Linux-2.6.29-ARCH-i686-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.0
Timestamp of tree: Thu, 14 May 2009 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/backup/dist"
FEATURES="buildpkg ccache distlocks fixpackages keepwork parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans usepkg userfetch"
GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo"
LANG="zh_CN.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh en"
MAKEOPTS="-j2"
PKGDIR="/backup/gentoopkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/vartmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/vmware /usr/local/portage/layman/emacs /usr/local/portage/layman/keks-overlay /usr/local/portage/layman/enlightenment /usr/local/portage/layman/daorex /usr/local/portage/layman/science"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="X acl acpi alsa apache2 ape applet artworkextra berkdb binary-drivers bzip2 cdr cgi cjk cleartype cli consolekit cracklib crypt ctype cups curl custom-optimization dbus disk-partition djvu docbook dri dvd dvdr dvi emacs fat fbcon festival ffmepg filter flac fontconfig fortran ftp fuse gd gdbm gpm gstreamer gtk guile hal hash html iceweasel iconv imagemagick ipv6 isdnlog jfs jpeg kde kdeprefix kpathsea latex libnotify lyx midi mp3 mpeg mudflap mysql mythtv ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcre pdf perl php plotutils png pppd preview-latex pronounce ps pulseaudio python qq qqwry qt4 readline reflection reiserfs session simplexml spl sqlite ssl startup-notification sysfs tcpd threads toolbar truetype unicode vboxwebsrv vim-syntax w32codecs webkit wma wxwindows x86 xcb xetex xfs xml xmlreader xmlrpc xorg xulrunner xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh en" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon "
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
回复 支持 反对

使用道具 举报

发表于 2009-5-15 13:31:23 | 显示全部楼层
这个问题我也不知道了,我看还是去报 bug 吧。要不你看看 distfiles/kdeedu-4.2.3.tar.bz2 这个文件里面有没有那个文件。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-15 13:45:43 | 显示全部楼层
marble、klinkstatus、akonadi……这几个包都是一样出错。
怎么看都像是我的cmake有问题。。。[color="Red"]gentoo_rules.cmake。。。这是个什么文件?
回复 支持 反对

使用道具 举报

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

本版积分规则

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