Hello Henrik,
Tuesday, October 11, 2005, 2:43:23, Henrik Nordstrom wrote:
>>> Index: squid-mswin.h
>>> #if defined(_MSC_VER) /* Microsoft C Compiler ONLY */
>>
>>> +/* No param.h on Windows */
>>> +#define MAXHOSTNAMELEN 256
>>> +
>> Guido, I'm not sure if this line belongs here regarding MinGW and
>> cygwin.
> Does Cygwin and MinGW also lack the MAXHOSTNAMELEN define in their
> headers?
It took me some time to download & install latest cygwin. Yes, it does
have MAXHOSTNAMELEN, but...
/* Max hostname size that can be dealt with */
/* FIXME: is this the appropriate value? */
#define MAXHOSTNAMELEN 64
I have no idea where to report this issue. However, even if this gets
fixed, older installations will suffer shortened (128 characters) host
names. A note on cygwin at
http://www.squid-cache.org/Doc/FAQ/FAQ-2.html page should be added
I think, stating
make MAXHOSTNAMELEN=256
has to be used.
By the way, sections in squid.h and util.h which #define
SQUIDHOSTNAMELEN differ a bit.
As of MinGW, didn't install it yet. I'll report my findings ASAP.
>> Would you please explain in more detail environment and build
>> process for cygwin and MinGW?
> The MinGW process I am not sure about, but the cygwin build process should
> be exacly like on Unix.
> ./bootstrap.sh (if using devel.squid-cache.org sources)
> ./configure ...
> make install
Thank you.
-- Best regards, Andrey ShorinReceived on Tue Oct 11 2005 - 11:30:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST