Re: Squid 2.5 build problems with --enable-ipf-transparent on HP Tru64

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 17 Sep 2005 13:43:06 +0200 (CEST)

y

On Sat, 17 Sep 2005, Serassio Guido wrote:

> Hi Henrik,
>
> At 01.31 17/09/2005, Henrik Nordstrom wrote:
>
>> On Tue, 13 Sep 2005, Serassio Guido wrote:
>>
>>> 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
>>
>> Looks like busted system (or maybe ipfilter) headers too me. Most likely a
>> missing header dependency.
>
> I have build and installed ipfilter on this machine starting from sources
> without errors, and Squid, after forcing the ipfilter usage, builds without
> errors.

The above == system or iptables include file missing internal #include of
other header files required by the same.

> The only oddity was that the installation of only ip_fil.h is targeted from
> the make install command of ipfilter, the other include file need to be
> installed manually.
>
> It seems that latest ipfilter includes are not developed for an external
> usage like Squid does, do you remember the SOLARIS2 define problem on Solaris
> ?

Yes, that did look a bit odd.

>>> Any hints on how fix this problem ?
>>
>> Not really. For now document the issue in the release notes.
>
> Yes something like "Using ipfilter 4.x on HP True64 maybe that .... blah
> blah"
>
> I like to add an ipfilter section in the known issues: I have found another
> silly problem on Solaris 10: Sun provides ipfilter 4.0.22 in the OS, but
> without include files ....
> They need to be downloaded from the OpenSolaris web site ... :-(

Nice...

>> You can use the following to tell configure that this header exists, making
>> it skip the test:
>>
>> env ac_cv_header_netinet_ip_compat_h=yes ./configure ...
>>
>> this should save you from having to edit include/autoconf.h manually.
>
> Yes, it works.

Good. Then there is a easy workaround.

You are most welcome adding a blurb about these ipfilter issues to the FAQ
and/or release notes.

Regards
Henrik
Received on Sat Sep 17 2005 - 05:43:08 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:05 MDT