BABL:使用 libtool 2.4 中的宏重新创建 aclocal.m4

abe*_*bel 5 gimp 11.04

我正在尝试在我的 Ubuntu 11.04 机器上安装开发版本 gimp2.7.2。我正在按照这些说明进行操作。我在必须制作 babl 的步骤中遇到了错误。

sudo make
make  all-recursive
make[1]: Entering directory `/home/abc/gimp2.7/gimp-2.7.2/babl'
Making all in babl
make[2]: Entering directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl'
Making all in base
make[3]: Entering directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl/base'
  CC     babl-base.lo
libtool: Version mismatch error.  This is libtool 2.4 Debian-2.4-2, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4 Debian-2.4-2
libtool: and run autoconf again.
make[3]: *** [babl-base.lo] Error 63
make[3]: Leaving directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/abc/gimp2.7/gimp-2.7.2/babl/babl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abc/gimp2.7/gimp-2.7.2/babl'
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)

错误行是

libtool: Version mismatch error.  This is libtool 2.4 Debian-2.4-2,but the 
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4 Debian-2.4-2
libtool: and run autoconf again.
Run Code Online (Sandbox Code Playgroud)

如何使用 libtool 2.4 中的宏重新创建 aclocal.m4?

Rin*_*ind 8

尝试跑步

autoreconf 
./configure
make
Run Code Online (Sandbox Code Playgroud)

在你项目的根目录中。

如果这不起作用,请先尝试运行make maintainer-clean,然后转到步骤 1。

如果还是不行,运行make maintainer-clean,然后删除项目根目录下所有生成的文件;包括aclocal.m4,任何m4目录,任何autom4te.cache目录,configureMakefile.inconfig.hconfig.h.inconfig.statuslibtoolltmain.sh,等。然后转到步骤1。

从用户mspoerr了在我们的朋友#1