
我正在嘗試在我的 Ubuntu 11.04 盒子上安裝開發版本 gimp2.7.2。這些說明同樣的。
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
就放自己的巴布爾路徑安裝,它會為你工作得很好!