用jhbuild编译gnome 2.28遇到gnome-doc-utils出错, 怎么解决?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
relaxssl
帖子: 1448
注册时间: 2007-01-30 7:13

用jhbuild编译gnome 2.28遇到gnome-doc-utils出错, 怎么解决?

#1

帖子 relaxssl » 2009-09-24 19:36

代码: 全选

*** Configuring gnome-doc-utils *** [8/233]
./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib'  --disable-static --disable-gtk-doc 
/opt/gnome2/bin/gnome-autogen.sh
skipping ./sandbox/mallard -- flagged as no auto-gen
skipping ./test/testdoc1 -- flagged as no auto-gen
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.63
checking for automake >= 1.9...
  testing automake-1.11... found 1.11
checking for intltool >= 0.25...
  testing intltoolize... found 0.40.6
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.23
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.in
Running intltoolize...
Running aclocal-1.11...
configure.in:44: warning: AM_NLS is m4_require'd but not m4_defun'd
m4/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
configure.in:44: the top level
Running autoconf...
configure.in:44: warning: AM_NLS is m4_require'd but not m4_defun'd
m4/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
configure.in:44: the top level
configure:3071: error: possibly undefined macro: AM_NLS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
*** Error during phase configure of gnome-doc-utils: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib'  --disable-static --disable-gtk-doc  *** [8/233]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: 
头像
relaxssl
帖子: 1448
注册时间: 2007-01-30 7:13

Re: 用jhbuild编译gnome 2.28遇到gnome-doc-utils出错, 怎么解决?

#2

帖子 relaxssl » 2009-09-24 20:12

linux@ubuntu:~$ grep AM_NLS -r /usr/share/aclocal
/usr/share/aclocal/nls.m4:AC_DEFUN([AM_NLS],
/usr/share/aclocal/po.m4: AC_REQUIRE([AM_NLS])dnl
/usr/share/aclocal/gettext.m4: AC_REQUIRE([AM_NLS])
linux@ubuntu:~$
头像
relaxssl
帖子: 1448
注册时间: 2007-01-30 7:13

Re: 用jhbuild编译gnome 2.28遇到gnome-doc-utils出错, 怎么解决?

#3

帖子 relaxssl » 2009-09-24 20:24

http://live.gnome.org/JhbuildIssues/gno ... 824eb7b33a
Solution: Reinstall gettext (jhbuild bootstrap --ignore-system). Ensure that gettext.m4 is installed and that it contains the macro AM_NLS.
回复