Hunter的大杂烩 技术学习笔记

2012-11-22

squid3编译参数

Filed under: 技术话题 — hunter @ 8:18 pm

–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)

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress