分享 初学者连载系列之十三:手动安装 m4, autoconf, automake, libtool

kevinhua · April 07, 2012 · Last by sakurazensen replied at January 23, 2013 · 37658 hits

系列文章原载于自己的博客,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 也是这样的

You need to Sign in before reply, if you don't have an account, please Sign up first.