LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 725|回复: 2

我是新手,希望大家能帮我看看squid安装的问题,谢谢了

[复制链接]
发表于 2005-10-10 11:33:42 | 显示全部楼层 |阅读模式
大家好,我刚刚接触到linux不久,需要配置一台squid的代理服务器,可是刚刚安装不久出现了错误,请大家帮我看看,怎么解决,谢谢


[root@linux squid-2.5.STABLE1]# ./configure --prefix=/usr/local/squid
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@linux squid-2.5.STABLE1]# make all
make: *** No rule to make target `all'.  Stop.
[root@linux squid-2.5.STABLE1]# make install
make: *** No rule to make target `install'.  Stop.
发表于 2005-10-10 11:46:42 | 显示全部楼层
没装 gcc。
装那些已经编译好的吧。
回复 支持 反对

使用道具 举报

发表于 2005-10-10 14:42:28 | 显示全部楼层
找找看你的gcc安没安装
find / -name gcc
如果装了,把路径添加进去
PATH=$PATH:/usr/local/bin;export PATH
如果没装,就下载一个安装,最好用你的发行版自带的版本
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表