【问题标题】:Automake demands "Autoconf 2.65 or better" and yet I already have Autoconf 2.69 installedAutomake 要求“Autoconf 2.65 或更高版本”,但我已经安装了 Autoconf 2.69
【发布时间】:2013-05-17 15:28:41
【问题描述】:

现在我正在尝试在我的 Mac 上构建 Automake,到目前为止一切都顺利进行。我构建了 Autoconf 和 m4,没有任何问题(与 git pulls 不同)。然后我去了 Automake,这就是事情崩溃的地方:

    checking whether autoconf is installed... yes
    checking whether autoconf works... yes
    checking whether autoconf is recent enough... no
    configure: error: Autoconf 2.65 or better is required.

如果我构建并安装 autoconf 2.68,问题仍然存在。我在这个上是否缺少某种技巧?

【问题讨论】:

标签: autoconf automake


【解决方案1】:

make 文件在您的$PATH 中检测到旧版本的 Autoconf。查看 Sebastien 博客中的 this post,尤其是告诉您在构建 Automake 之前将新的 Autoconf bin 目录添加到 $PATH 的部分。如果您想遵循“标准”OSX 文件夹结构约定,请在/usr/local 中安装 Autoconf。

请允许我无耻地抄袭塞巴斯蒂安的剧本 Daniel Farrelly version

export build=~/devtools # or wherever you'd like to build
mkdir -p $build

##
# Autoconf
# http://ftpmirror.gnu.org/autoconf

cd $build
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz
tar xzf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/local
make
sudo make install
export PATH=/usr/local/bin

##
# Automake
# http://ftpmirror.gnu.org/automake

cd $build
curl -OL http://ftpmirror.gnu.org/automake/automake-1.13.2.tar.gz
tar xzf automake-1.13.2.tar.gz
cd automake-1.13.2
./configure --prefix=/usr/local
make
sudo make install

【讨论】:

    猜你喜欢
    • 2015-12-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-06
    • 1970-01-01
    • 2019-08-09
    相关资源
    最近更新 更多