Chen Bekor wrote:
hi,
trying to install squid + icap support on a ubuntu server:
I downloaded squid-2.5.STABLE14.tar.gz and unpacked it.
I had to pull from the CVS a missing file: errors/list...
I patched the sources using the icap-2_5.patch - no errors.
run ./bootstrap.sh
checked that ./configure has support for --enable-icap-suport - all is good!
run ./configure --enable-icap-support - run ok!
trying make - got this nasty error:
In file included from /usr/include/string.h:33,
from Array.c:50:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:214: error:
duplicate ‘unsigned’
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:214: error: two or
more data types in declaration specifiers
In file included from ../include/util.h:39,
from Array.c:52:
/usr/include/time.h:175: error: two or more data types in declaration specifiers
In file included from /usr/include/sys/time.h:31,
from ../include/util.h:44,
from Array.c:52:
/usr/include/sys/select.h:85: error: two or more data types in
declaration specifiers
make[1]: *** [Array.o] Error 1
make: *** [all-recursive] Error 1
can someone figure out what's wrong?
First problem is you using squid 2.5.
Current supported versions of squid are:
squid 2.6 STABLE 17,18
squid 3.0 STABLE 1
squid 3-HEAD (3.1 alpha)
squid 2-HEAD (2.7 alpha)
Second problem is that ICAP was likely a patch for 2.6 since that was
the active version when ICAP was introduced.
It has been fully integrated and is very much more stable in 3.0 so if
you need ICAP please first try upgrading to that release. Ubuntu has
been tested and is working well here with 3.0.
Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.