Search squid archive

Re: Can't build ecap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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:41 AM
> 
> 
> --- 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.
> 
> 
> 
> 


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux