Re: IP filter header files...

From: David S. Madole <david@dont-contact.us>
Date: Wed, 23 Dec 1998 09:12:11 -0500

Sherif Mohamed Ismaiel wrote:
>
> checking if IP-Filter header files are installed... no
> WARNING: Cannot find necessary IP-Filter header files
> Transparent Proxy support WILL NOT be enabled
>
> I have ip filter installed and was working satisfactory with version
> 1.1.22 but I want to tryout the new version.
>
> Can anyone tell me what header files are missing?! and if those are
> downloaded on their own or should be in the squid tar file!?

I had this problem just the other day. The files that are missing are
ip_fil.h, ip_nat.h, and ip_compat.h from IPFilter. The problem I had
was trying to figure out where to put them that configure would find
them and work. I tried /sys/netinet, /usr/include, /usr/include/net,
{squid-src}/src, {squid-src}/include, and a mess of others and never
got configure to recognize them.

What I finally ended up doing just to get it working, is run
configure, edit config.cache, changing the 'no' in the following
lines to 'yes' to make configure think it had found the missing files
before, copied the files to {squid-src}/include, and then ran
configure again:

   ac_cv_header_ip_fil_h=${ac_cv_header_ip_fil_h='no'}
   ac_cv_header_ip_nat_h=${ac_cv_header_ip_nat_h='no'}
   ac_cv_header_ip_compat_h=${ac_cv_header_ip_compat_h='no'}

And everything has worked fine since. Make sure you do the appropriate
squid.conf changes from the FAQ for redirection before running.

I would be interested in what is the 'right' answer to this problem,
though, as I racked my brain for an hour trying to figure it out. I'm
not much of a configure wizard, but I couldn't figure out where it
ever actually looked for those files anywhere.

Dave
Received on Wed Dec 23 1998 - 07:21:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:43 MST