Hi All,
I want to enable ICAP support in Squid (2.5.STABLE6-20040722 version).
I compiled it with ./configure ... --enable-icap-support ; make all ;
make install
No error, all is working correctly.
When I add the following lines at the end of my squid.conf
icap_enable on
icap_mode both
icap_service service1 reqmod_precache 0 icap://localhost:1344/reqmod
icap_service service2 respmod_preache 0
icap://localhost:1344/respmod
icap_class class1 service1 service2
icap_access class1 allow all
and run Squid, I receive this error :
2004/07/22 15:41:30| parseConfigFile: line 567 unrecognized:
'icap_enable on'
......
Squid run so properly but without ICAP support.
Must I patch or recompile my squid installation, what doing?
I have tried to patch the source with icap-2.5.patch.
$SQUID-INSTALL-DIR#patch -p1 < /tmp/icap-2.5.patch
but I obtain this error message
patching file acconfig.h
patching file configure.in
Hunk #1 succeeded at 438 (offset 5 lines).
Hunk #2 succeeded at 1749 (offset 28 lines).
Hunk #3 FAILED at 1782.
1 out of 3 hunks FAILED -- saving rejects to file configure.in.rej
can't find file to patch at input line 69
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: squid/errors/list
|diff -u squid/errors/list:1.1.1.1 squid/errors/list:1.1.1.1.182.1
|--- squid/errors/list:1.1.1.1 Tue Jan 25 19:21:47 2000
|+++ squid/errors/list Mon Dec 1 06:23:44 2003
--------------------------
File to patch:
Any advice is welcome...
Yohann
Received on Thu Jul 22 2004 - 07:59:13 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT