Dide the make distclean, and also started from a fresh new squid source 
tree.  Below is the part in the config.log file that is showing the errors 
for ip_compat.h, and ip_fil_compat.h.  I don't have a ip_fil_compat.h 
file, does anyone know if ip filter 4.1.1 include this.  I copied 
ip_compat.h to /usr/include/netinet directory with still no luck.  Below 
is how I am trying to run my configure scripts.

./configure --enable-ipf-transparent --prefix=/usr/local/squid

Below is the part of config.log file that shows the configure failing with 
enable ipf transparent: 

#include "confdefs.h"
#include <gnumalloc.h>
configure:3843: checking for grp.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3843: checking for ip_compat.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3849: ip_compat.h: No such file or directory
configure: failed program was:
#line 3848 "configure"
#include "confdefs.h"
#include <ip_compat.h>
configure:3843: checking for ip_fil_compat.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3849: ip_fil_compat.h: No such file or directory
configure: failed program was:
#line 3848 "configure"
#include "confdefs.h"
#include <ip_fil_compat.h>
configure:3843: checking for ip_fil.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3843: checking for ip_nat.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3843: checking for libc.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3843: checking for limits.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3843: checking for linux/netfilter_ipv4.h
configure:3853: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3849: linux/netfilter_ipv4.h: No such file or directory
configure: failed program was:


Thanks in advance for assistance. 

Tim Clashin 



Henrik Nordstrom <[EMAIL PROTECTED]> 
04/07/2004 01:00 PM

To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject
Re: [squid-users] Problem configuring squid 2.5 with 
--enable-ipf-transparent on Solaris 9.






On Wed, 7 Apr 2004 [EMAIL PROTECTED] wrote:

> Newbie here, I have trying to install squid 2,5 in transparent proxy 
mode 
> on a Solaris 9 box.  I have installed ipfilter 4.1.1 already.  My 
problem 
> right now is the configure part of squid with the option of 
> --enable-ipf-transparent.  I am getting the usual error, 
> 
> WARNING: Cannot find necessary IP-Filter header files
>          Transparent Proxy support WILL NOT be enabled

Try "make distclean", or start from a fresh new Squid source tree.

If all fails, look into config.log why the ip-filter includes is not 
found.

Regards
Henrik



Reply via email to