我有麻烦“jhbuild构建meta-gtk-osx-core”

时间:2013-06-19 17:14:58

标签: gtk makefile mismatch jhbuild

首先,我想在我的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

这是我的日志

1 个答案:

答案 0 :(得分: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;)