QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4956|回复: 12

Gentoo 安装Gnome出现错误,咋办啊???救救我

[复制链接]
发表于 2007-8-26 18:02:32 | 显示全部楼层 |阅读模式
#emerge gnome
.
.
.
.
.
.
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/libxklavier'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
Making all in reference
make[3]: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc/reference'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc/reference'
make[3]: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
Making all in tests
make[2]: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/tests'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -Werror -I/usr/include  -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Os         -march=athlon-xp -mtune=athlon-xp       -mfpmath=sse,387 -mmmx -m3dnow -msse    -finline-limit=400    -funit-at-a-time        -pipe -fforce-addr      -fbranch-target-load-optimize   -fbranch-target-load-optimize2 -MT test_config.o -MD -MP -MF ".deps/test_config.Tpo" -c -o test_config.o test_config.c; \
        then mv -f ".deps/test_config.Tpo" ".deps/test_config.Po"; else rm -f ".deps/test_config.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -Werror -I/usr/include  -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Os         -march=athlon-xp -mtune=athlon-xp       -mfpmath=sse,387 -mmmx -m3dnow -msse    -finline-limit=400    -funit-at-a-time        -pipe -fforce-addr      -fbranch-target-load-optimize   -fbranch-target-load-optimize2 -MT test_monitor.o -MD -MP -MF ".deps/test_monitor.Tpo" -c -o test_monitor.o test_monitor.c; \
        then mv -f ".deps/test_monitor.Tpo" ".deps/test_monitor.Po"; else rm -f ".deps/test_monitor.Tpo"; exit 1; fi
cc1: warnings being treated as errors
test_monitor.c: 在函数 ‘state_changed’ 中:
test_monitor.c:50: 警告:branch target register load optimization is not intended to be run twice
make[2]: *** [test_monitor.o] 错误 1
make[2]: *** 正在等待未完成的任务....
cc1: warnings being treated as errors
test_config.c: 在函数 ‘print_variant’ 中:
test_config.c:98: 警告:branch target register load optimization is not intended to be run twice
make[2]: *** [test_config.o] 错误 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/tests'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2'
make: *** [all] 错误 2

!!! ERROR: x11-libs/libxklavier-3.2 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libxklavier-3.2.ebuild, line 39:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-libs:libxklavier-3.2:20070826-095439.log'.
发表于 2007-8-26 18:54:39 | 显示全部楼层

你好像开了把 warning 也当成 error 的参数了吧?

cc1: warnings being treated as errors
回复

使用道具 举报

 楼主| 发表于 2007-8-27 10:23:57 | 显示全部楼层
没有啊,我的 make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-Os
        -march=athlon-xp -mtune=athlon-xp
        -mfpmath=sse,387 -mmmx -m3dnow -msse
        -finline-limit=400  
        -funit-at-a-time
        -pipe -fforce-addr
        -fbranch-target-load-optimize
        -fbranch-target-load-optimize2"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
# This should not be changed unless you know exactly what you are doing.  You
# should probably be using a different stage, instead.
# ----------------------------------------------------------------------------
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
# ----------------------------------------------------------------------------
USE="gtk gnome -qt -kde dvd ffmpeg flac mpeg ogg"
LINGUAS="zh_CN"
CHOST="i686-pc-linux-gnu"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirror.solnet.ch ftp://ftp.solnet.ch/mirror/Gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
回复

使用道具 举报

 楼主| 发表于 2007-8-27 10:33:01 | 显示全部楼层
上个错误己解决,换了个make.conf,现在又一个错误
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for intltool >= 0.34.90... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML:arser... configure: error: XML:arser perl module is required for intltool

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-wm/metacity-2.18.5/work/metacity-2.18.5/config.log

!!! ERROR: x11-wm/metacity-2.18.5 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1328:   Called gnome2_src_compile
  gnome2.eclass, line 70:   Called gnome2_src_configure
  gnome2.eclass, line 66:   Called econf '--disable-xinerama' '--disable-compositor'
  ebuild.sh, line 586:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-wm:metacity-2.18.5:20070827-023659.log'.
回复

使用道具 举报

 楼主| 发表于 2007-8-27 10:39:19 | 显示全部楼层
O,谢谢上面那位,所有问题己解决
回复

使用道具 举报

 楼主| 发表于 2007-8-27 10:42:26 | 显示全部楼层
第一个问题主要是branch target register load optimization is not intended to be run twice
所以我将make.conf弄成了最简单的形式,就好了,呵
第二个重新emerge XML-Parser
回复

使用道具 举报

发表于 2007-8-27 19:34:10 | 显示全部楼层
原帖由 Tilon0 于 2007-8-27 10:23 发表
没有啊,我的 make.conf
CFLAGS="-Os
        -march=athlon-xp -mtune=athlon-xp
        -mfpmath=sse,387 -mmmx -m3dnow -msse
        -finline-limit=400  
        -funit-at-a-time
        -pipe -fforce-addr
        -fbranch-target-load-optimize
        -fbranch-target-load-optimize2"

优化就像超频,适可而止的好。稳定运行才是最终目的
回复

使用道具 举报

发表于 2007-11-25 11:18:58 | 显示全部楼层
强烈建议emerge gnome-light
传说中某强人emerge gnome编译了20个小时还没有编译完....
回复

使用道具 举报

发表于 2007-11-25 21:03:52 | 显示全部楼层
现在双核满天飞,哪还需要那么久啊
回复

使用道具 举报

发表于 2007-11-26 18:29:33 | 显示全部楼层
双核了编译还是慢啊……等 4 核遍地吧……
回复

使用道具 举报

发表于 2007-11-26 20:27:19 | 显示全部楼层
最高只用C1.3编译过,不过我还是坚持编译多次了gentoo和lfs。然后双核就直接win了
回复

使用道具 举报

发表于 2007-12-14 10:08:22 | 显示全部楼层
现在已经过了六个小时了,才编译到一半

早知道我就先来看看这贴……

PS: 我的是C1.2
回复

使用道具 举报

发表于 2007-12-15 09:33:43 | 显示全部楼层

我在 gnome 完成之前,都是win里面用虚拟机挂真实硬盘编译的……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-19 14:17 , Processed in 0.241289 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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