Hi,
When trying to test --enable-ipf-transparent on HP Tru64, I have got
the following configure error:
checking if IP-Filter header files are installed... no
WARNING: Cannot find necessary IP-Filter header files
Transparent Proxy support WILL NOT be enabled
But ipfilter is installed, and all needed include files are present.
Looking into config.log, I have found this:
configure:4132: checking for netinet/ip_compat.h
configure:4142: gcc -E -I/usr/local/include conftest.c >/dev/null
2>conftest.out
In file included from /usr/include/kern/queue.h:96,
from /usr/include/kern/event.h:50,
from /usr/include/sys/select.h:54,
from
/usr/local/gcc343/bin/../lib/gcc/alpha-dec-osf5.1/3.4.3/include/sys/types.h:605,
from
/usr/local/gcc343/bin/../lib/gcc/alpha-dec-osf5.1/3.4.3/include/sys/uio.h:79,
from /usr/include/netinet/ip_compat.h:123,
from configure:4138:
/usr/include/kern/lock.h:204:24: rt_preempt.h: No such file or directory
/usr/include/kern/lock.h:205:25: mach_ldebug.h: No such file or directory
configure: failed program was:
#line 4137 "configure"
#include "confdefs.h"
#include <netinet/ip_compat.h>
configure:4132: checking for netinet/ip_fil_compat.h
configure:4142: gcc -E -I/usr/local/include conftest.c >/dev/null
2>conftest.out
configure:4138:35: netinet/ip_fil_compat.h: No such file or directory
configure: failed program was:
#line 4137 "configure"
#include "confdefs.h"
#include <netinet/ip_fil_compat.h>
configure:4132: checking for netinet/ip_fil.h
configure:4142: gcc -E -I/usr/local/include conftest.c >/dev/null
2>conftest.out
configure:4132: checking for netinet/ip_nat.h
configure:4142: gcc -E -I/usr/local/include conftest.c >/dev/null
2>conftest.out
configure:4132: checking for netinet/ipl.h
It seems that netinet/ip_compat.h cannot be compiled during configure.
But Squid builds fine forcing in include/autoconf.h after configure:
#define IPF_TRANSPARENT 1
#define HAVE_NETINET_IP_COMPAT_H 1
Any hints on how fix this problem ?
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Tue Sep 13 2005 - 08:42:00 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:05 MDT