squid3.0出来已经很长时间了,自己太懒,一直都没换,今天有空,随便把它换了,记下过程!
出师不利,开始安装就出错看了一下,原来少装东西了
[root@localhost squid-3.0.STABLE1]# ./bootstrap.sh
WARNING: Cannot find automake version 1.10 1.9 1.7 1.6 1.5
./bootstrap.sh: line 38: automake: command not found
Trying
WARNING: Cannot find autoconf version
./bootstrap.sh: line 38: autoconf: command not found
Trying
WARNING: Cannot find libtool version 1.5 1.4
./bootstrap.sh: line 38: libtool: command not found
Trying
automake :
autoconfg:
libtool :
Bootstrapping
./bootstrap.sh: line 45: aclocal: command not found
aclocal failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
将没装的automake autoconf libtool全部默认装上
wget
tar -zxvf autoconf-2.61.tar.gz
cd autoconf-2.61
./configure
make;make install
wget
tar -zxvf automake-1.9.tar.gz
cd automake-1.9
./configure
make;make install
wget
tar -zxvf libtool-1.5.24.tar.gz
cd libtool-1.5.24
ls
./configure
make;make install
安装完毕,就可以安装squid3.0了
./configure --prefix=/usr/local/squid3
YY的,还是出错,没法了,少了G++的,没法,只能再装gcc-c++-4.1.1和libstdc++-devel
#rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm
#rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm
error: Failed dependencies:
gcc = 4.1.1-52.el5 is needed by gcc-c++-4.1.1-52.el5.i386
结果很郁闷,直接
# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm --nodeps
Preparing... ########################################### [100%]
1:gcc-c++ ########################################### [100%]
再运行
./configure --prefix=/usr/local/squid3
过了,
make;make install
搞定
阅读(3047) | 评论(0) | 转发(0) |