-1

首先,我想在我的 Mac 上下载 gtk。所以我尝试这一步。http://www.gtk.org/download/macos.php 当我尝试“jhbuild build meta-gtk-osx-core”时,我的 mac 出现错误。帮我!!!

    libtool: Version mismatch error.  This is libtool 2.4.2, but the
    libtool: definition of this LT_INIT comes from libtool 2.4.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
    libtool: and run autoconf again.
    make[4]: *** [GdkQuartzView.lo] Error 63
    make[4]: *** Waiting for unfinished jobs....
    libtool: Version mismatch error.  This is libtool 2.4.2, but the
    libtool: definition of this LT_INIT comes from libtool 2.4.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
    libtool: and run autoconf again.
    make[4]: *** [gdkapplaunchcontext-quartz.lo] Error 63
    libtool: Version mismatch error.  This is libtool 2.4.2, but the
    libtool: definition of this LT_INIT comes from libtool 2.4.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
    libtool: and run autoconf again.
    make[4]: *** [gdkcursor-quartz.lo] Error 63
    libtool: Version mismatch error.  This is libtool 2.4.2, but the
    libtool: definition of this LT_INIT comes from libtool 2.4.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
    libtool: and run autoconf again.
    make[4]: *** [GdkQuartzWindow.lo] Error 63
    libtool: Version mismatch error.  This is libtool 2.4.2, but the
    libtool: definition of this LT_INIT comes from libtool 2.4.
    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
    libtool: and run autoconf again.
    make[4]: *** [gdkcolor-quartz.lo] Error 63
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all] Error 2
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

这是我的日志

4

1 回答 1

1

我在 SnowLeopard (10.6) 上遇到了同样的问题,但在 MountainLion (10.8) 上没有,您必须安装 2.4.2 版,http: //www.gnu.org/software/libtool/ 下载存档,解压缩然后配置并安装使用:

./configure --prefix /Users/YourUserName/gtk/inst 
make 
make install

/Users/YourUserName/gtk/inst安装 gtk 的文件夹必须在哪里。

然后 jhbuild 你的 gtk ;)

于 2013-06-20T00:57:17.030 回答