Re: squid3-ipv6 squid3 configure.in,1.63.2.61,1.63.2.62

From: Amos Jeffries <squid3@dont-contact.us>
Date: Tue, 2 Oct 2007 10:14:58 +1300 (NZDT)

> Hi Amos,
>
> At 22.03 30/09/2007, Amos Jeffries wrote:
>> > Update of cvs.devel.squid-cache.org:/cvsroot/squid/squid3
>> >
>> > Modified Files:
>> > Tag: squid3-ipv6
>> > configure.in
>> > Log Message:
>> > Fix syntax error in nsaddr tests
>> >
>>
>>Guido, that was a feature. :-p
>>
>>It was meant to provide an autoconf arranged function-macro 'ABC(i)' that
>>allows the nsaddrs to be indexed like an array instead of conditionally
>>coded for the various access methods.
>>
>>There was a regression bug in *nix autoconf 2.59 that prevents it
>> working.
>>But that was fixed again by 2.61+
>
> $ autoconf -V
> autoconf (GNU Autoconf) 2.59
> Written by David J. MacKenzie and Akim Demaille.
>
> Arghhhh !!!
> I went crazy for 4 hours trying to understand a not-sense C++ build
> error ..... :-(

Only 4 hours? man your lucky.
It took G. Panula and I a nasty few weeks to figure this one out.

BTW, Which OS was this on?
That particular bug props up when some IPv6 extensions to local resolver
are not available for use.

>
>>If there is any way to get it to work that would be good. Otherwise there
>>are quite a number of lines to be added to dnsserver.cc to cope with the
>>different varitations.
>
> The next planned version of autotools on MinGW are:
>
> - autoconf 2.61
> - automake 1.10
>

FWIW, I have been using 2.61 here no problems. Panula has yet to get back
to me on if his/her upgrade to 2.61 has resulted in a working autoconf.h .

The bypass for now is to configure, then patch the autoconf.h changing
/* #undef _SQUID_RES_NSADDR6_LIST */(i)
to:
/* #undef _SQUID_RES_NSADDR6_LIST(i) */

> I will try with the preview builds to see what happens.
>

If that fails, I'll work up some glue.

> Regards
>
> Guido
>

Amos
Received on Mon Oct 01 2007 - 15:15:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Oct 30 2007 - 13:00:03 MDT