首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Automake要求"Autoconf 2.65或更高版本“,但我已经安装了Autoconf 2.69

Automake要求"Autoconf 2.65或更高版本“,但我已经安装了Autoconf 2.69
EN

Stack Overflow用户
提问于 2013-05-17 23:28:41
回答 1查看 8.1K关注 0票数 3

现在我正试着在我的Mac上构建Automake,到目前为止一切都进展顺利。我在包中没有任何问题地构建了Autoconf和m4 (与git pull相反)。然后我开始使用Automake,这就是问题的症结所在:

代码语言:javascript
复制
    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,问题仍然存在。这是不是我漏掉了什么把戏?

EN

回答 1

Stack Overflow用户

发布于 2013-05-18 00:14:58

make文件在$PATH中检测到旧版本的Autoconf。看看Sebastien博客中的this post,特别是告诉你在构建Automake之前将新的Autoconf bin目录添加到$PATH中的那部分。如果你想遵循“标准”的OSX文件夹结构惯例,可以在/usr/local中安装Autoconf。

请允许我厚颜无耻地复制丹尼尔法雷利version的塞巴斯蒂安的脚本。

代码语言:javascript
复制
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
票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16612791

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档