[squid-users] wccpv2.patch fails on squid-2.5.STABLE10

From: George Chelidze <wrath@dont-contact.us>
Date: Wed, 06 Jul 2005 20:48:42 +0400

Hello,

I am trying to install squid-2.5.STABLE10 with wccpv2 support. I use
STABLE9 with wccpv2 and I decided to upgrade to STABLE10. I used
wccpv2.patch (don't remember where I got it, as it was a long time ago)
with STABLE9 and it worked just fine. The same patch failed with
STABLE10 (see patch.dump) and Makefile.in.rej is created (attached). I
thought this patch is outdated and decided to look for up2date patch, so
I found a patch located here:

http://devel.squid-cache.org/projects.html#visolve_wccpv2

I applied it without a problem but there is no --enable-wccpv2 in the
output of ./configure --help. So here I am lost. I have found on forums
that bootstrap.sh might help, but I get the following:

root@proxy:/usr/local/src/squid-2.5.STABLE10# ./bootstrap.sh
WARNING: Cannot find automake version 1.5
Trying automake (GNU automake) 1.4-p6
WARNING: Cannot find autoconf version 2.13
Trying autoconf (GNU Autoconf) 2.59
aclocal: configure.in: 27: macro `AM_PROG_CC_C_O' not found in library
aclocal failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
root@proxy:/usr/local/src/squid-2.5.STABLE10#

The system is Debian sarge updated to latest stable. Has anyone
successfully pached STABLE 10 to support wccpv2?

Thanks in advance.

Best Regards,

-- 
George Chelidze


root@proxy:/usr/local/src# patch -p0 < wccpv2.patch
patching file squid-2.5.STABLE10/acconfig.h
patching file squid-2.5.STABLE10/configure
Hunk #1 succeeded at 74 (offset 4 lines).
Hunk #2 succeeded at 2196 (offset 99 lines).
Hunk #3 succeeded at 2223 with fuzz 2 (offset 113 lines).
Hunk #4 succeeded at 9046 with fuzz 1 (offset 798 lines).
patching file squid-2.5.STABLE10/configure.in
Hunk #1 succeeded at 468 (offset -2 lines).
patching file squid-2.5.STABLE10/include/autoconf.h.in
patching file squid-2.5.STABLE10/src/Makefile.in
Hunk #1 succeeded at 134 (offset 2 lines).
Hunk #2 succeeded at 203 (offset 8 lines).
Hunk #3 succeeded at 305 (offset 9 lines).
Hunk #4 FAILED at 459.
Hunk #5 succeeded at 518 (offset 33 lines).
Hunk #6 succeeded at 594 (offset 34 lines).
Hunk #7 succeeded at 830 (offset 60 lines).
1 out of 7 hunks FAILED -- saving rejects to file squid-2.5.STABLE10/src/Makefile.in.rej
patching file squid-2.5.STABLE10/src/cf.data.pre
Hunk #1 succeeded at 3367 (offset 252 lines).
Hunk #2 succeeded at 3384 (offset 252 lines).
Hunk #3 succeeded at 3407 (offset 252 lines).
patching file squid-2.5.STABLE10/src/cf_gen_defines
patching file squid-2.5.STABLE10/src/main.c
Hunk #1 succeeded at 300 (offset 9 lines).
Hunk #2 succeeded at 329 (offset 9 lines).
Hunk #3 succeeded at 352 (offset 9 lines).
Hunk #4 succeeded at 393 (offset 19 lines).
Hunk #5 succeeded at 560 (offset 23 lines).
Hunk #6 succeeded at 986 (offset 23 lines).
patching file squid-2.5.STABLE10/src/protos.h
Hunk #1 succeeded at 561 (offset -9 lines).
patching file squid-2.5.STABLE10/src/structs.h
Hunk #1 succeeded at 462 (offset 18 lines).
patching file squid-2.5.STABLE10/src/wccpv2.c
root@proxy:/usr/local/src#

Received on Wed Jul 06 2005 - 10:47:47 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT