本文介绍了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。该小项目页面:
p.s. that small project page: http://sourceforge.net/projects/rccparser/
有什么帮助?
推荐答案
b $ b
autoreconf -fvi
我希望 bootstrap
会照顾这个,但它看起来不像。
maybe? I'd hope bootstrap
would take care of that though, but it looks like it doesn't.
这篇关于Libtool版本不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!