Install Squid 3.1 on Centos 5.X
yum -y groupinstall “Development Tools”
yum -y install rpm-build openjade linuxdoc-tools openldap-devel pam-devel openssl-devel httpd rpm-devel expat-devel db4-devel libpcap-devel
For Centos : rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.el5.src.rpm
For Fedora : rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.fc13.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bb squid.spec
rpm -Uhv /usr/src/redhat/RPMS/i386/squid-3.1.0.15-2.i386.rpm
Tags: groupinstall, rpmbuild, squid

May 16th, 2010 at 8:53 pm
Hi. Did you manage to compile it with the transparent proxy feature included?
I’m getting this error on a CentOS 5.4 with libcap 1.10 installed.
configure: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY
configure: WARNING: Linux Transparent Proxy support WILL NOT be enabled
configure: WARNING: Reduced support to Interception Proxy
configure: WARNING: Missing needed capabilities (libcap or libcap2) for TPROXY v2
configure: WARNING: Linux Transparent Proxy support WILL NOT be enabled
Rodrigo
May 17th, 2010 at 5:00 pm
Seems I get the same Warning message as you got. From what I see it looks like they broke support for Linux transparent feature in 3.x. If you need that you might keep squid 2.X.
May 20th, 2010 at 1:28 pm
Also had to add : yum install libxml2-devel libcap-devel
May 26th, 2010 at 1:41 pm
If you want to use squid in transparent mode, look at intercept for version 3.1 – same thing!
July 21st, 2010 at 8:48 pm
i did all the yum installs above and the system is up to date
running 64bit
i use this:
rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.el5.src.rpm
but i get this:
warning: group mockbuild does not exist – using root
warning: user mockbuild does not exist – using root
i tried with the FC package but get (logically?) an md5 error
July 22nd, 2010 at 11:25 am
What md5 error? From your paste it looks like you have two warnings which are normal.