Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7346768
  • 博文数量: 1763
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16217
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1763)

文章存档

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: LINUX

2008-02-28 15:21:54

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
 
搞定

 
 
 

 
阅读(2950) | 评论(0) | 转发(0) |
0

上一篇:xbaydns试用之web

下一篇:squid configure参数

给主人留下些什么吧!~~