“汽车制造需求”;Autoconf 2.65或更高版本”;但我已经安装了Autoconf 2.69

“汽车制造需求”;Autoconf 2.65或更高版本”;但我已经安装了Autoconf 2.69,autoconf,automake,Autoconf,Automake,现在我正试图在我的Mac电脑上建立汽车制造商,到目前为止一切都进展顺利。我构建了Autoconf和m4,在包中没有任何问题(与git拉取相反)。然后我去了Automake,这就是事情的分崩离析之处: checking whether autoconf is installed... yes checking whether autoconf works... yes checking whether autoconf is recent enough... no

现在我正试图在我的Mac电脑上建立汽车制造商,到目前为止一切都进展顺利。我构建了Autoconf和m4,在包中没有任何问题(与git拉取相反)。然后我去了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。看看Sebastien的博客,特别是告诉您在构建Automake之前将新的Autoconf bin dir添加到
$PATH
的部分。如果要遵循“标准”OSX文件夹结构约定,请在
/usr/local
中安装Autoconf

请允许我无耻地模仿丹尼尔·法雷利的剧本

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

哦,顺便说一下,欢迎来到stackoverflow!确保同时检查并确认。