手动安装m4, autoconf, automake, libtool

转自http://ruby-china.org/topics/2434

系列文章原载于自己的博客,TOPI.CO (http://topi.co) ,某天不小心就push错啦,懒得从头再来,上传到Ruby-China来,一是方便自己回顾,另外也方便跟我一样的初学者

这些软件包都是在安装CoreSeek4.01时必须的。但后来者也代码升级,CoreSeek安装已经不需要。

###安装m4

wget http://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gz 
&& tar -xzvf m4-1.4.13.tar.gz 
&& cd m4-1.4.13 
&& ./configure --prefix=/usr/local
make && make install
cd ..

###安装autoconf

wget http://mirrors.kernel.org/gnu/autoconf/autoconf-2.65.tar.gz 
&& tar -xzvf autoconf-2.65.tar.gz 
&& cd autoconf-2.65 
&& ./configure --prefix=/usr/local
make && make install
cd ..

###安装automake

wget http://mirrors.kernel.org/gnu/automake/automake-1.11.tar.gz 
&& tar xzvf automake-1.11.tar.gz 
&& cd automake-1.11 
&& ./configure --prefix=/usr/local
make && make install
cd ..

###安装libtool

wget http://mirrors.kernel.org/gnu/libtool/libtool-2.2.6b.tar.gz 
&& tar xzvf libtool-2.2.6b.tar.gz 
&& cd libtool-2.2.6b 
&& ./configure --prefix=/usr/local
make && make install
cd ..
 

我默认升级安装了automake以后 ,用/usr/local/bin/automake --version查看显示的是最新安装的版本 用/usr/bin/automake --version查看显示的升级之前的版本,用rpm -qa|grep automake 查看也是升级之前的版本,请问这是为什么?libtool也是这样的

路漫漫其修远兮 吾将上下求索
原文地址:https://www.cnblogs.com/hbmlml/p/5456281.html