Tilon0 发表于 2007-8-26 18:02:32

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

#emerge gnome
.
.
.
.
.
.
make: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/libxklavier'
Making all in doc
make: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
Making all in reference
make: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc/reference'
make: Nothing to be done for `all'.
make: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc/reference'
make: Entering directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
make: Nothing to be done for `all-am'.
make: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
make: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/doc'
Making all in tests
make: 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: *** 错误 1
make: *** 正在等待未完成的任务....
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: *** 错误 1
make: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2/tests'
make: *** 错误 1
make: Leaving directory `/var/tmp/portage/x11-libs/libxklavier-3.2/work/libxklavier-3.2'
make: *** 错误 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'.

jiangtao9999 发表于 2007-8-26 18:54:39

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

cc1: warnings being treated as errors

Tilon0 发表于 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"

Tilon0 发表于 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::Parser... configure: error: XML::Parser 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'.

Tilon0 发表于 2007-8-27 10:39:19

O,谢谢上面那位,所有问题己解决

Tilon0 发表于 2007-8-27 10:42:26

第一个问题主要是branch target register load optimization is not intended to be run twice
所以我将make.conf弄成了最简单的形式,就好了,呵
第二个重新emerge XML-Parser

cnhnln 发表于 2007-8-27 19:34:10

原帖由 Tilon0 于 2007-8-27 10:23 发表 http://www.linuxfans.org/bbs/images/common/back.gif
没有啊,我的 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"

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

chariot_lh 发表于 2007-11-25 11:18:58

强烈建议emerge gnome-light
传说中某强人emerge gnome编译了20个小时还没有编译完....:twisted:

cnhnln 发表于 2007-11-25 21:03:52

现在双核满天飞,哪还需要那么久啊

jiangtao9999 发表于 2007-11-26 18:29:33

双核了编译还是慢啊……等 4 核遍地吧……

cnhnln 发表于 2007-11-26 20:27:19

最高只用C1.3编译过,不过我还是坚持编译多次了gentoo和lfs。然后双核就直接win了:mrgreen:

我爱DDR 发表于 2007-12-14 10:08:22

现在已经过了六个小时了,才编译到一半:shock:

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

PS: 我的是C1.2

jiangtao9999 发表于 2007-12-15 09:33:43

:shock:
我在 gnome 完成之前,都是win里面用虚拟机挂真实硬盘编译的……
页: [1]
查看完整版本: Gentoo 安装Gnome出现错误,咋办啊???救救我