mac下安装automake

本文档介绍了在mac系统中如何一步步安装automake。首先创建一个构建目录,然后从GNU镜像站点下载并解压autoconf、automake和libtool的源码包。接着分别配置、编译和安装这三个工具,最后将安装路径添加到环境变量PATH中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. export build=~/devtools # or wherever you'd like to build  
  2. mkdir -p $build  
  3.   
  4. cd $build  
  5. curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.68.tar.gz  
  6. tar xzf autoconf-2.68.tar.gz  
  7. cd autoconf-2.68  
  8. ./configure --prefix=$build/autotools-bin  
  9. make  
  10. make install  
  11. export PATH=$PATH:$build/autotools-bin/bin  
  12.   
  13. cd $build  
  14. curl -OL http://ftpmirror.gnu.org/automake/automake-1.11.tar.gz  
  15. tar xzf automake-1.11.tar.gz  
  16. cd automake-1.11  
  17. ./configure --prefix=$build/autotools-bin  
  18. make  
  19. make install  
  20.   
  21. cd $build  
  22. curl -OL http://ftpmirror.gnu.org/libtool/libtool-2.4.tar.gz  
  23. tar xzf libtool-2.4.tar.gz  
  24. cd libtool-2.4  
  25. ./configure --prefix=$build/autotools-bin  
  26. make  
  27. make install  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值