学习型 ASP/PHP/ASP.NET 主机 30元/年全能 ASP/PHP/ASP.NET 主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付
发新话题
打印

squid编译问题

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

TOP

你没有安装GCC

TOP

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

TOP

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

--program-transform-name转换名字(这个好像是哦,记不清楚了,你可以查一下)
Linux是简单的,你不需要成为天才也能理解这种简单,Windows是复杂的,就算你是天才也不能理解这种复杂

TOP

发新话题