打印

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

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

#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'.

TOP


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

cc1: warnings being treated as errors
不想要 ID 了请找我。

TOP

没有啊,我的 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"

TOP

上个错误己解决,换了个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'.

TOP

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

TOP

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

TOP

引用:
原帖由 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"
优化就像超频,适可而止的好。稳定运行才是最终目的

TOP

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

TOP

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

TOP

双核了编译还是慢啊……等 4 核遍地吧……
不想要 ID 了请找我。

TOP

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

TOP

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

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

PS: 我的是C1.2
gentoo, 我来了~~~~~~~~

TOP


我在 gnome 完成之前,都是win里面用虚拟机挂真实硬盘编译的……
不想要 ID 了请找我。

TOP