LinuxSir.cn,穿越时空的Linuxsir!

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

error emerging gnome-user-docs-2.22.1 failed请xd们支招!!

[复制链接]
发表于 2008-12-11 10:58:24 | 显示全部楼层 |阅读模式
安装gnome时出错
这是出错的信息!
>>> Unpacking source...
>>> Unpacking gnome-user-docs-2.22.1.tar.bz2 to /var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/work
[32;01m*[0m Fixing OMF Makefiles ...
[A[120C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/work/gnome-user-docs-2.22.1 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-scrollkeeper --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for GNOME2_USER_DOCS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnome-user-docs.spec
config.status: creating gnome2-user-guide/Makefile
config.status: creating gnome2-accessibility-guide/Makefile
config.status: creating gnome2-system-admin-guide/Makefile
Making all in gnome2-user-guide
make[1]: Entering directory `/var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/work/gnome-user-docs-2.22.1/gnome2-user-guide'
if ! test -d ar/; then mkdir ar/; fi
if [ -f "C/user-guide.xml" ]; then d="../"; else d="/var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/work/gnome-user-docs-2.22.1/gnome2-user-guide/"; fi; \
        (cd ar/ && \
          `which xml2po` -e -p \
            "${d}ar/ar.po" \
            "${d}C/user-guide.xml" > user-guide.xml.tmp && \
            cp user-guide.xml.tmp user-guide.xml && rm -f user-guide.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in <module>
    import libxml2
ImportError: No module named libxml2
make[1]: *** [ar/user-guide.xml] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/work/gnome-user-docs-2.22.1/gnome2-user-guide'
make: *** [all-recursive] Error 1
[31;01m*[0m
[31;01m*[0m ERROR: gnome-extra/gnome-user-docs-2.22.1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m               ebuild.sh, line   49:  Called src_compile
[31;01m*[0m             environment, line  610:  Called gnome2_src_compile
[31;01m*[0m             environment, line  540:  Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m       emake || die "compile failure"
[31;01m*[0m  The die message:
[31;01m*[0m   compile failure
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-user-docs-2.22.1/temp/environment'.
[31;01m*[0m
发表于 2008-12-11 11:02:57 | 显示全部楼层
安装 dev-libs/libxml2 ?
回复 支持 反对

使用道具 举报

发表于 2008-12-11 11:04:53 | 显示全部楼层
你升级python后需要 运行python-updater。
这个是老问题了......
回复 支持 反对

使用道具 举报

发表于 2009-1-5 00:16:02 | 显示全部楼层

emerge libxml2 就可以了

emerge libxml2 就可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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