LinuxSir.cn,穿越时空的Linuxsir!

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

GNOME Desktop-2.12 安装出错 [ 搞定了]

[复制链接]
发表于 2006-4-21 19:09:24 | 显示全部楼层 |阅读模式
BLFS BOOK svn-20060417

安装 GNOME Desktop-2.12.2 的时候,按照book上配置后,make之后出现以下的错误:

  1. make[2]: Entering directory `/gnome214/gnome-desktop-2.14.1.1/desktop-docs'
  2. Making all in fdl
  3. make[3]: Entering directory `/gnome214/gnome-desktop-2.14.1.1/desktop-docs/fdl'
  4. if ! test -d es/; then mkdir es/; fi
  5. case "." in /*) sd=".";; *) sd="../.";; esac; \
  6. if [ -f "C/fdl.xml" ]; then d="../"; else d="$sd/"; fi; \
  7. (cd es/ && \
  8.   `which xml2po` -e -p \
  9.     "${d}es/es.po" \
  10.     "${d}C/fdl.xml" > fdl.xml.tmp && \
  11.     cp fdl.xml.tmp fdl.xml && rm -f fdl.xml.tmp)
  12. Traceback (most recent call last):
  13.   File "/opt/gnome-2.14.1/bin/xml2po", line 34, in ?
  14.     import libxml2
  15.   File "/usr/lib/python2.4/libxml2.py", line 1, in ?
  16.     import libxml2mod
  17. ImportError: No module named libxml2mod
  18. make[3]: *** [es/fdl.xml] 错误
  19. make[3]: Leaving directory `/gnome214/gnome-desktop-2.14.1.1/desktop-docs/fdl'
  20. make[2]: *** [all-recursive] 错误
  21. make[2]: Leaving directory `/gnome214/gnome-desktop-2.14.1.1/desktop-docs'
  22. make[1]: *** [all-recursive] 错误
  23. make[1]: Leaving directory `/gnome214/gnome-desktop-2.14.1.1'
复制代码


libxml2这个包已经装了,python也装了,去google查了下似乎和python有关,但是还是没搞定,到底是为什么呃?:ask
 楼主| 发表于 2006-4-22 11:51:09 | 显示全部楼层
搞定了……
原来应该先装python再装libxml2,这样libxml2就会build相应python的模块,libxml2上写python是option,我就没装,没想到这里要用到,还以为缺了一个包到处找……
回复 支持 反对

使用道具 举报

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

本版积分规则

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