当前位置:C++技术网 > 资讯 > Centos7安装autoconf、automake、libtool

Centos7安装autoconf、automake、libtool

更新时间:2017-08-15 14:54:26浏览次数:1+次

        之前在Centos安装autoconf、automake时都是这样安装的:

    安装automake:

    

wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz 
tar -zxvf automake-1.14.tar.gz 
cd automake-1.14 
./bootstrap.sh 
./configure 
make; make install 
automake --version 

    

    安装autoconf:

    

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz 
tar -zxvf autoconf-2.69.tar.gz 
cd autoconf-2.69 
./configure 
make;make install 
autoconf --version 

    

        然而在centos7上安装时却无法正常完成安装。./configure之后,没有生成Makefile文件,就导致后续的make无法执行。后面就参考了libtool的yum安装方法试了一下,竟然也可以安装autoconf、automake。centos7自带了这两个安装包,这样也就方便了。原本还打算换为centos6.8的,还打算将autoconf、automake的编译安装包存下来,以后就直接上传好了。因为在线下载的速度实在是太慢了,经常没有速度。

        而现在这样就可以了:

    

yum -y install autoconf
yum -y install automake
yum -y install libtool