–enable-delay-pools –enable-linux-netfilter –enable-linux-tproxy –disable-ident-lookups –with-pthreads
其中tpproxy需要 libpcap支持
//2013-11-24
编译 squid 3.3
./configure –prefix=/usr/local/squid –enable-icmp –enable-delay-pools –enable-gnuregex –enable-linux-netfilter –disable-ident-lookups –disable-translation –disable-auto-locale –with-large-files –with-filedescriptors=65536 –enable-kill-parent-hack –with-swapdir=/data/squid –with-aufs-threads=40 –enable-dlmalloc –enable-cache-digests –disable-strict-error-checking
–disable-strict-error-checking 用于解决auto_ptr 过期的问题:
Inquirer.cc:90: error: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.3/backward/auto_ptr.h:91)