--- On Sun, 11/15/09, Landy Landy <landysaccount@xxxxxxxxx> wrote: > From: Landy Landy <landysaccount@xxxxxxxxx> > Subject: Re: Can't build ecap > To: "squid-users@xxxxxxxxxxxxxxx" <squid-users@xxxxxxxxxxxxxxx> > Date: Sunday, November 15, 2009, 10:18 AM > > I think is solved. > > I was able to install by editing: > > /libecap-0.0.2/src/libecap/common/name.cc file and > > adding #include <limits.h> > instead of #include <limits> > > > Let's see if I don't get anymore errors during squid > build. > > Well, now I'm having problems getting the VIGOS eCAP GZIP > Adapter built. > > I'm getting errors here as well. Now, when I try to make I > get this: > > adapter_gzip.cc:581: error: ‘deflate’ was not declared > in this scope > adapter_gzip.cc:583: error: ‘struct > Adapter::Xaction::GzipContext’ has no member named > ‘zstream’ > make[2]: *** [adapter_gzip.lo] Error 1 > make[2]: Leaving directory > `/workingdir/vigos-ecap-gzip-adapter-1.1.0/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/workingdir/vigos-ecap-gzip-adapter-1.1.0/src' > make: *** [all-recursive] Error 1 After reading and reading, noticed that it was missing zlib.h file. I was able to build it and installed by installing the zlib1g-dev package.