MAC环境下安装aotomake,autoconf, libtool

转载

路径如下: https://blog.csdn.net/langresser_king/article/details/8526610

创建一个脚本,将下面的东西复制进去即可

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

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

cd $build
curl -OL http://ftpmirror.gnu.org/automake/automake-1.11.tar.gz
tar xzf automake-1.11.tar.gz
cd automake-1.11
./configure --prefix=$build/autotools-bin
make
make install

cd $build
curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.tar.gz
tar xzf libtool-2.4.tar.gz
cd libtool-2.4
./configure --prefix=$build/autotools-bin
make
make install

作者:langresser
来源:CSDN
原文:https://blog.csdn.net/langresser_king/article/details/8526610
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(程序员的生活啊)