kaijie 发表于 2007-12-4 00:34

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
        
什么原因啊

cnenc 发表于 2007-12-4 00:55

你没有安装GCC

kaijie 发表于 2007-12-5 23:25

编译出来了,但文件名好长,是不是不能随便改名的啊

boot2046 发表于 2007-12-6 00:50

--program-prefix名字加前缀
--program-suffix名字加后缀

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

页: [1]

编程论坛