LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]大虾帮我看看哪错了,gnome-light编译失败

[复制链接]
发表于 2009-4-2 23:05:16 | 显示全部楼层 |阅读模式
make[3]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/work/gnome-terminal-2.24.2/help/zh_TW'
make[3]: Entering directory `/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/work/gnome-terminal-2.24.2/help'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/work/gnome-terminal-2.24.2/help'
if ! test -d de/; then mkdir de/; fi
if [ -f "C/gnome-terminal.xml" ]; then d="../"; else d="/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/work/gnome-terminal-2.24.2/help/"; fi; \
        (cd de/ && \
          `which xml2po` -e -p \
            "${d}de/de.po" \
            "${d}C/gnome-terminal.xml" > gnome-terminal.xml.tmp && \
            cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-terminal.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in <module>
    import libxml2
ImportError: No module named libxml2
make[2]: *** [de/gnome-terminal.xml] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/work/gnome-terminal-2.24.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/work/gnome-terminal-2.24.2'
make: *** [all] Error 2
[31;01m*[0m
[31;01m*[0m ERROR: x11-terms/gnome-terminal-2.24.2-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m               ebuild.sh, line   49:  Called src_compile
[31;01m*[0m             environment, line 2635:  Called gnome2_src_compile
[31;01m*[0m             environment, line 2008:  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/x11-terms/gnome-terminal-2.24.2-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-terms/gnome-terminal-2.24.2-r1/temp/environment'.
[31;01m*[0m
我单独编译gnome-terminal-2.24.2-r1(加t参数看了下好像不依赖别的包)也是一样
发表于 2009-4-2 23:31:54 | 显示全部楼层
cp gnome-terminal.xml.tmp gnome-terminal.xml && rm -f gnome-terminal.xml.tmp)
Traceback (most recent call last):
File "/usr/bin/xml2po", line 35, in <module>
import libxml2
ImportError: No module named libxml2
make[2]: *** [de/gnome-terminal.xml] Error 1

看上面似乎是 python 的 libxml2 模块出问题了。

如果没弄错的话,可能需要重新编译一下 dev-libs/libxml2
如果最近升级过python,最好运行一下 python-updater (
命令的名字可能记错了。)
回复 支持 反对

使用道具 举报

发表于 2009-4-3 09:11:44 | 显示全部楼层
import libxml2
ImportError: No module named libxml2

我怎么记得这个是好久以前出现的事情了,难道这个 bug 一直都在?
楼主去报一个 bug吧。。
回复 支持 反对

使用道具 举报

发表于 2009-4-3 10:04:22 | 显示全部楼层
同道人 帮顶
回复 支持 反对

使用道具 举报

发表于 2009-4-3 23:21:30 | 显示全部楼层
不行就用python的easy_install 自己装一个
http://pypi.python.org/pypi/lxml/2.2
回复 支持 反对

使用道具 举报

发表于 2009-4-3 23:53:22 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-4 10:38:21 | 显示全部楼层
Blahster正解,3Q
回复 支持 反对

使用道具 举报

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

本版积分规则

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