Robert V. Coward wrote:
I am trying to build Squid with Linux Transparent Proxy support on Fedora 9.
Here is the message I am getting on the configure:
checking if Linux (Netfilter) kernel header files are installed... no
WARNING: Cannot find necessary Linux kernel (Netfilter) header files
Linux Transparent Proxy support WILL NOT be enabled
checking if TPROXY header files are installed... no
I also see errors like these:
checking for linux/netfilter_ipv4.h... no
checking for linux/netfilter_ipv4/ip_tproxy.h... no
netfilter is installed on the machine. Any ideas?
yum provides netfilter_ipv4.h
That will probably tell you that you need to install the kernel-devel
RPM (or perhaps the kernel-smp-devel RPM).
yum -y install kernel-devel
OR
yum -y install kernel-smp-devel
Here are the systems particulars:
[root@squid0 squid-3.0.STABLE7]# uname -a
Linux squid0.localdomain 2.6.25.9-76.fc9.i686 #1 SMP Fri Jun 27 16:14:35 EDT 2008 i686 i686 i386 GNU/Linux
Yeah. kernel-smp-devel it is.
Here is the whole configure:
[root@squid0 squid-3.0.STABLE7]# ./configure --prefix=/opt/TCSsquid --enable-storeio=ufs,aufs,coss,null --with-aufs-threads=44 --with-pthreads --enable-icmp --enable-delay-pools --enable-icap-client --enable-useragent-log --enable-referer-log --enable-ssl --enable-cache-digests --enable-default-err-language=English --enable-err-languages=English --enable-linux-netfilter --enable-linux-tproxy --with-default-user=squid --with-openssl=/tmp/openssl-0.9.8h/include/openssl/
Chris