Subject: pkg/7383: Squid fails to find
To: None <gnats-bugs@gnats.netbsd.org, rhialto@polder.ubc.kun.nl>
From: None <rhialto@polder.ubc.kun.nl>
List: netbsd-bugs
Date: 04/14/1999 07:21:03
>Number:         7383
>Category:       pkg
>Synopsis:       Squid fails to find ip_{compat,fil,nat}.h
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 14 07:20:01 1999
>Last-Modified:
>Originator:     Rhialto
>Organization:
	
>Release:        1.3.3
>Environment:
	
System: NetBSD ijmeer 1.3.3 NetBSD 1.3.3 (ROUTER) #2: Thu Apr 8 16:48:55 CEST 1999 root@ijmeer:/usr/src/sys/arch/i386/compile/ROUTER i386


>Description:
	
I wanted to run squid as a transparent proxy. After some looking
at the FAQ, I discovered I wanted to configure with the option
--enable-ipf-transparent. (This would be a nice addition for the
package Makefile). When I did so, configure refused to find the
header files &lt;ip_compat.h&gt;, &lt;ip_fil.h&gt and &lt;ip_nat.h&gt.
We have those in the netinet subdirectory though.

These header files are only used by one file: client_side.c, but
the configure script is such a pest that it kept refusing to
acknowledge that these headers are there, so it kept turning off
my --enable-ipf-transparent option.

>How-To-Repeat:
	
Build squid for a transparent proxy.
>Fix:
	
Workaround: I finally got so pissed of that I made symlinks in the
/usr/include directory. A real fix would patch client_side.c and
configure.in (in several locations, probably).
>Audit-Trail:
>Unformatted: