Hi there,
Which version do you use? I applied the patch to Feb 24, 2005
squid2.5-stable9. It failed on the forward.c and store_swapout.c.
When I run the bootstrap.sh it complains that it could not find
"HAVE_EPOLL". The system is a redhat AS4 (with kernel 2.6).
Here is the script for the errors:
patch -p1</root/epoll-2_5.patch
Hunk #2 FAILED at 701.
1 out of 2 hunks FAILED -- saving rejects to file src/forward.c.rej
patching file src/main.c
patching file src/protos.h
patching file src/squid.h
patching file src/stat.c
patching file src/store_client.c
Hunk #1 succeeded at 205 (offset 4 lines).
patching file src/store_swapout.c
Hunk #1 FAILED at 151.
1 out of 1 hunk FAILED -- saving rejects to file src/store_swapout.c.rej
patching file src/structs.h
Hunk #1 succeeded at 796 with fuzz 2 (offset 12 lines).
Hunk #2 succeeded at 1854 (offset -2 lines).
./bootstrap.sh
configure.in:1830: warning: AC_TRY_RUN called without default to allow
cross compiling
configure.in:1854: warning: AC_TRY_RUN called without default to allow
cross compiling
/usr/local/bin/autoheader: Symbol `HAVE_EPOLL' is not covered by
/usr/local/share/autoconf/acconfig.h ./acconfig.h
autoheader failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
Where did I do wrong? Thanks for the suggestion.
BR
George
> -----Original Message-----
> From: Pawe?Staszewski [mailto:pstaszewski@artcom.pl]
> Sent: Tuesday, April 12, 2005 9:22 PM
> To: squid-users@squid-cache.org
> Subject: how to apply epoll-2_5 patch to squid2.5-stable9
>
> Hello
> I have question about how to apply epoll-2_5 patch to squid2.5-stable9
>
> I download patch from:
> http://devel.squid-cache.org/cgi-bin/diff2/epoll-2_5.patch?s2_5
>
> and then in squid dir i do : patch -p1 < epoll-2_5.patch
>
> Patch was added cleanly but:
> ./configure --help | grep epoll
> show nothing :(
>
> And this patch does not change the "configure" file in squid tree
>
> What i miss ??
>
>
> Best Regards
> Pawe³ Staszewski
> ART-COM
> +48327522333
> +480609183038
Received on Wed Apr 13 2005 - 03:10:39 MDT
This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT