I'm trying to install PyGTK on OSX 10.6 (snow leopard). I have followed this topic Where is PyGTK for Mac OS X?.
我正在尝试在OSX 10.6(雪豹)上安装PyGTK。我已经按照这个主题在哪里使用PyGTK for Mac OS X?
When I run the last command :
当我运行最后一个命令时:
~/.local/bin/jhbuild build meta-gtk-osx-python
I have the following error :
我有以下错误:
*** Checking out gtk+ *** [10/18]
*** Configuring gtk+ *** [10/18]
autoreconf -fis && ./configure --prefix /Users/smu/gtk/inst --libdir '/Users/smu/gtk/inst/lib' --with-gdktarget=quartz --disable-static
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
configure.in:150: error: possibly undefined macro: dnl
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /Users/smu/gtk/inst/bin/autoconf failed with exit status: 1
*** Error during phase configure of gtk+: ########## Error running autoreconf -fis && ./configure --prefix /Users/smu/gtk/inst --libdir '/Users/smu/gtk/inst/lib' --with-gdktarget=quartz --disable-static *** [10/18]
[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:
What can I do to solve this error ? Thanks.
我该怎么做才能解决这个错误?谢谢。
1 个解决方案
#1
8
I have found a solution. I think that it's a problem with some versions of libraries.
我找到了解决方案。我认为某些版本的库存在问题。
Just bootstrap with --ignore-system to be sure that all libraries with their correct versions are correctly installed.
只需使用--ignore-system启动,以确保正确安装了所有正确版本的库。
jhbuild bootstrap --ignore-system
#1
8
I have found a solution. I think that it's a problem with some versions of libraries.
我找到了解决方案。我认为某些版本的库存在问题。
Just bootstrap with --ignore-system to be sure that all libraries with their correct versions are correctly installed.
只需使用--ignore-system启动,以确保正确安装了所有正确版本的库。
jhbuild bootstrap --ignore-system