Re: [squid-users] Can't build ecap

From: Landy Landy <landysaccount_at_yahoo.com>
Date: Sun, 15 Nov 2009 10:49:27 -0800 (PST)

After almost four hours trying to get squid 3.1 install with ecap I finally have it running but, don't know if I should use it in our network yet since libecap had so many bugs. My previous posts show some of the problems I came across: Couldn't build libecap, was missing a package, and so on. The last bug that was killing me in which I spent about 2 hours googling was that when enable_ecap was enable in squid.conf I noticed squid wouldn't start. I found out that: Squid start when remove assert() in libecap. Now i had to: vim src/libecap/adapter/adapter.cc Line 16 : void libecap::adapter::Service::start() { //assert(false); } recompile and install. Now, is running. Haven't test it yet but, at least I have that going. I don't know if I should bring this box to production and install it on our lan, I'm not too confident but, if I don't do so how am I going to know is working? --- On Sun, 11/15/09, Landy Landy <landysaccount_at_yahoo.com> wrote: > From: Landy Landy <landysaccount_at_yahoo.com> > Subject: Re: [squid-users] Can't build ecap > To: "squid-users_at_squid-cache.org" <squid-users_at_squid-cache.org> > Date: Sunday, November 15, 2009, 10:41 AM > > > --- On Sun, 11/15/09, Landy Landy <landysaccount_at_yahoo.com> > wrote: > > > From: Landy Landy <landysaccount_at_yahoo.com> > > Subject: Re: [squid-users] Can't build ecap > > To: "squid-users_at_squid-cache.org" > <squid-users_at_squid-cache.org> > > 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. > > > >
Received on Sun Nov 15 2009 - 18:49:34 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 16 2009 - 12:00:04 MST