Nevil Thatcher wrote:
> I have tried downgrading
>
> minGW runtime from 3.15.2 to 3.14
> w32api 3.13 to 3.11
>
> and rebuild - no change to result, squid still fails to start with error:
>
> 2009/08/16 11:41:30| aclIpParseIpData: unknown first address in '127.0.0.1/32'
> FATAL: Bungled squid.conf line 2: acl localhost src 127.0.0.1/32
> Squid Cache (Version 3.1.0.13): Terminated abnormally.
> CPU Usage: 0.016 seconds = 0.000 user + 0.016 sys
> Maximum Resident Size: 5644 KB
> Page faults with physical i/o: 1461
>
>
> I alos download squid-3.0.18STABLE src and compiled using same build environment and this worked successfully.
>
> So it appears to be something with the squid 3.1 build??
Yes. 3.1 introduces a few different functions for IPv6. The parsing
syntax is also sightly different.
The first thing to try is see what the parse shows when squid is run
with the -X option. There should be some lines above the error
indicating whether the IP text was converted to anything.
What version of windows is this?
(I'm not familiar with the API numberings vs releases)
It may be one of the functions needs a windows wrapper. There are a
small set of these in compat/os/mswin.h (look for "namespace Squid" to
see how its done.
It is a bit strange that that does not appear at build time though.
Amos
>
> Cheers
> Nevil
> -----Original Message-----
> From: Nevil Thatcher [mailto:nevilth_at_nat.com.au]
> Sent: Saturday, 15 August 2009 5:15 PM
> To: 'Henrik Nordstrom'
> Cc: 'squid-users_at_squid-cache.org'
> Subject: RE: [squid-users] Building squid 3.1.0.13 on MS-Windows (minGW)
>
> Hi Henrik,
>
> We are using MinGW 5.1.4
>
> I tried compiling with ac_cv_func_inet_pton=no but no change in behaviour.
>
>
> I will try to get a previous version of MinGW and try that
>
> Cheers
> Nevil
>
> -----Original Message-----
> From: Henrik Nordstrom [mailto:henrik_at_henriknordstrom.net]
> Sent: Saturday, 15 August 2009 8:30 AM
> To: Nevil Thatcher
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] Building squid 3.1.0.13 on MS-Windows (minGW)
>
> lör 2009-08-15 klockan 07:45 +1000 skrev Nevil Thatcher:
>
>> 2009/08/14 22:45:11| aclIpParseIpData: unknown first address in
>> '127.0.0.1/32'
>> FATAL: Bungled squid.conf line 2: acl localhost src 127.0.0.1/32
>
> Sounds like inet_pton is broken in your MinGW install somehow.. or that
> inet_pton is not what we expect it to be...
>
> Which MinGW version are you using?
>
> Also try adding ac_cv_func_inet_pton=no to your configure line, forcing
> it to use the bundled inet_pton version instead of what is provided by
> MinGW.
>
> Regards
> Henrik
>
>
-- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18 Current Beta Squid 3.1.0.13Received on Sun Aug 16 2009 - 04:21:54 MDT
This archive was generated by hypermail 2.2.0 : Sun Aug 16 2009 - 12:00:06 MDT