autoconf - Automake 要求 "Autoconf 2.65 or better"但我

现在我正尝试在我的 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,问题仍然存在。我在这方面缺少某种技巧吗?

最佳答案

make 文件在您的 $PATH 中检测到旧版本的 Autoconf。看看this post在 Sebastien 的博客中,特别是告诉您在构建 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

关于autoconf - Automake 要求 "Autoconf 2.65 or better"但我已经安装了 Autoconf 2.69,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16612791/

相关文章:

xcode - 如何在 Xcode 和其他文件中同时复制 .h 和 .m 文件?

symfony - 在表单字段类型 'entity' 添加自定义选项

r - 有不同格式的 knitr 输出图

.net - 无法在 PowerShell 中创建 .Net 对象

.net - 可区分联合中的函数约束泛型参数的类型

scala - 特征中的字段未及时初始化

r - 如何将列表的每个元素作为未命名参数传递给函数?

crystal-reports - 更改第 N 页的文本 Crystal Reports?

python - recarray 中的 numpy datetime64

amazon-web-services - 带有亚马逊网络服务的 UDP 服务