| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1905 人关注过本帖
标题:squid编译问题
只看楼主 加入收藏
kaijie
Rank: 1
等 级:新手上路
帖 子:175
专家分:0
注 册:2007-10-2
结帖率:100%
收藏
 问题点数:0 回复次数:3 
squid编译问题
cd aquid
./configure --prefix=/var/squid\
--sysconfdir=/etc/squid \
--enable-arp-acl \
--enable-cache-digests \
--enable-err-language="Traditional_Chinese" \
--enable-default-err-language="Traditional_Chinese"\
 --enable-kill-parent-hack \
--enable-linux-netfilter\
 --enable-snmp\
 --enable-underscores \
--enable-gnuregex \
--enable-async-io=80 \
--enable-icmp \
--enable-poll \
--disable-ident-lookups\
make && make install

后系统报错:
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for install-gcc... no
checking for gcc... no
checking for install-cc... no
checking for cc... no
checking for install-cl.exe... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
        
 什么原因啊
搜索更多相关主题的帖子: squid 编译 Chinese Traditional 
2007-12-04 00:34
cnenc
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:35
帖 子:2913
专家分:514
注 册:2007-1-29
收藏
得分:0 
你没有安装GCC
2007-12-04 00:55
kaijie
Rank: 1
等 级:新手上路
帖 子:175
专家分:0
注 册:2007-10-2
收藏
得分:0 
编译出来了,但文件名好长,是不是不能随便改名的啊
2007-12-05 23:25
boot2046
Rank: 2
等 级:新手上路
威 望:3
帖 子:168
专家分:0
注 册:2007-7-23
收藏
得分:0 
--program-prefix名字加前缀
--program-suffix名字加后缀

--program-transform-name转换名字(这个好像是哦,记不清楚了,你可以查一下)

Linux是简单的,你不需要成为天才也能理解这种简单,Windows是复杂的,就算你是天才也不能理解这种复杂
2007-12-06 00:50
快速回复:squid编译问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.028796 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved