I've just now gotten a chance to get back to trying Squid 2.2stable2, but
I've finally gotten it working. Henrik's pointer did the trick. I had to
manually add the following to squid-2.2.STABLE2/include/autoconf.h in order
to get it working:
#define HAVE_ARPA_INET_H 1
#define HAVE_NETDB_H 1
I'm not sure why configure couldn't find them on its own. I have gone back
and rebuilt squid 2.1patch2 just to make certain that nothing changed since
I last built squid, and I had no problems at all building it.
Thanks for the help.
Mike
> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
>
> Which include files does your manpage for inet_addr mention?
>
> Have configure detected these include files? (see
> squid-2.2.STABLE2/include/autoconf.h after running configure)
>
> Is your gcc compiler headers up to date with your OS? You need to
> reinstall gcc (or at least run fixinc, but a reinstall is recommended)
> each time you upgrade the OS.
>
> --
> Henrik Nordstrom
> Spare time Squid hacker
>
>
> Mike Wohlgemuth wrote:
> >
> > I've just downloaded Squid 2.2stable2 and am attempting to
> build it on
> > Solaris 2.6. Here is the output of make:
>
> > safe_inet_addr.c:32: warning: `struct in_addr' declared inside
> > parameter list
>
Received on Thu May 13 1999 - 11:39:03 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:17 MST