本文介绍了libtool的版本不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经下载了一些旧项目的来源。我想现在构建它:
I have downloaded the source of some old project. I'm trying to build it now:
./bootstrap && ./configure
它工作正常,但:
It works fine, but:
make
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -W -g -O2 -DDEBUG -MT rcclexer.lo -MD -MP -MF .deps/rcclexer.Tpo -c -o rcclexer.lo rcclexer.cpp
../libtool: line 415: CDPATH: command not found
libtool: Version mismatch error. This is libtool 2.4.2, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
libtool: and run autoconf again.
P.S。小项目页面:
任何帮助吗?
推荐答案
是这样的:
autoreconf -fvi
也许?我倒是希望引导
会照顾的,虽然,但它看起来像它没有。
maybe? I'd hope bootstrap
would take care of that though, but it looks like it doesn't.
这篇关于libtool的版本不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!