我在Ubuntu 10.04上使用kdevelop 3.5构建我的应用程序时,出现以下错误:
libtool: Version mismatch error. This is libtool 2.2.6 Debian-2.2.6a-4, 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.2.6 Debian-2.2.6a-4
libtool: and run autoconf again.
make[2]: *** [wktools4] Error 63
make[2]: Target `all' not remade because of errors.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***
我应该在哪里获取需要的版本的libtool,或者如何重新创建aclocal.m4文件?
autoreconf
不够用。我必须运行:aclocal; libtoolize --force; autoheader; autoconf
。 - djeikybautoreconf
的作用就是为您运行所有这些程序,除此之外没有其他功能。不过最好加上--force
选项,我会编辑答案。 - ptomato./configure
。 - hek2mglautogen.sh
或bootstrap
脚本,请首先运行它们。 - ptomato