Subject: pkg/7383: Squid fails to find
To: None <,>
From: None <>
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
>Originator:     Rhialto
>Release:        1.3.3
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

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.

Build squid for a transparent proxy.
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 (in several locations, probably).