Search squid archive

Re: Can't build ecap

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

 



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






--- On Sun, 11/15/09, Landy Landy <landysaccount@xxxxxxxxx> wrote:

> From: Landy Landy <landysaccount@xxxxxxxxx>
> Subject:  Can't build ecap
> To: "squid-users@xxxxxxxxxxxxxxx" <squid-users@xxxxxxxxxxxxxxx>
> Date: Sunday, November 15, 2009, 9:55 AM
> Hello Everyone.
> 
> Sometime this week I posted asking if anyone has squid 3.1
> running with ecap. I decided to tested myself but, I'm
> having problems from the get go. I downloaded ecap sources
> and I'm trying to build it on my Lenny box. 
> 
> When I run make I get this:
> 
> if /bin/sh ../../../libtool --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H   -I../../../src   -g
> -O2 -MT message.lo -MD -MP -MF ".deps/message.Tpo" -c -o
> message.lo message.cc; \
>         then mv -f ".deps/message.Tpo"
> ".deps/message.Plo"; else rm -f ".deps/message.Tpo"; exit 1;
> fi
>  g++ -DHAVE_CONFIG_H -I../../../src -g -O2 -MT message.lo
> -MD -MP -MF .deps/message.Tpo -c message.cc  -fPIC
> -DPIC -o .libs/message.o
>  g++ -DHAVE_CONFIG_H -I../../../src -g -O2 -MT message.lo
> -MD -MP -MF .deps/message.Tpo -c message.cc -o message.o
> >/dev/null 2>&1
> if /bin/sh ../../../libtool --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H   -I../../../src   -g
> -O2 -MT name.lo -MD -MP -MF ".deps/name.Tpo" -c -o name.lo
> name.cc; \
>         then mv -f ".deps/name.Tpo"
> ".deps/name.Plo"; else rm -f ".deps/name.Tpo"; exit 1; fi
>  g++ -DHAVE_CONFIG_H -I../../../src -g -O2 -MT name.lo -MD
> -MP -MF .deps/name.Tpo -c name.cc  -fPIC -DPIC -o
> .libs/name.o
> name.cc: In constructor ‘libecap::Name::Name()’:
> name.cc:7: error: ‘INT_MIN’ was not declared in this
> scope
> name.cc: In constructor ‘libecap::Name::Name(const
> std::string&)’:
> name.cc:11: error: ‘INT_MIN’ was not declared in this
> scope
> name.cc: In constructor ‘libecap::Name::Name(const
> std::string&, int)’:
> name.cc:15: error: ‘INT_MIN’ was not declared in this
> scope
> name.cc: In member function ‘bool
> libecap::Name::assignedHostId() const’:
> name.cc:23: error: ‘INT_MIN’ was not declared in this
> scope
> name.cc: In member function ‘void
> libecap::Name::assignHostId(int) const’:
> name.cc:27: error: ‘INT_MIN’ was not declared in this
> scope
> make[4]: *** [name.lo] Error 1
> make[4]: Leaving directory
> `/workingdir/libecap-0.0.2/src/libecap/common'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/workingdir/libecap-0.0.2/src/libecap/common'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/workingdir/libecap-0.0.2/src/libecap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/workingdir/libecap-0.0.2/src'
> 
> I've done some googling but nothing related to this, also,
> nothing in their website.
> 
> Please help. Thanks in advanced.
> 
> 
> 
> 


      


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

  Powered by Linux