注册 登录
编程论坛 Linux教室

squid编译问题

kaijie 发布于 2007-12-04 00:34, 1911 次点击
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
        
 什么原因啊
3 回复
#2
cnenc2007-12-04 00:55
你没有安装GCC
#3
kaijie2007-12-05 23:25
编译出来了,但文件名好长,是不是不能随便改名的啊
#4
boot20462007-12-06 00:50
--program-prefix名字加前缀
--program-suffix名字加后缀

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