我正在尝试在我的 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
错误行是
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.
如何使用 libtool 2.4 中的宏重新创建 aclocal.m4?
答案1
答案2
在 Gentoo 中这是可行的:
$ phpize
$ aclocal && libtoolize --force && autoreconf
$ ./configure bbbb#again
可能在 Ubuntu 上也能工作。
答案3
我遇到了同样的问题,解决方案非常简单:
只需导出环境变量BABL_CFLAGS
只需导出安装路径的巴布尔。就我而言,我使用了:
export BABL_CFLAGS=/opt/babl-0.1.10
只需把自己的巴布尔路径安装,它将正常工作!