Re: [squid-users] Unable to enable wccpv2 on rhes3

2006-05-24 Thread Henrik Nordstrom
ons 2006-05-24 klockan 10:28 -0400 skrev Rodrick Brown:
> I tried using autoconf 2.1.3 and 2.57 I get the following error with  
> both
> 
> # ./bootstrap.sh
> FATAL ERROR: Autoconf version 2.52 or higher is required for this script
> configure.in: 916: required file `./_AM_File,.in' not found
> configure.in: 916: required file `./$2,.in' not found
> configure.in: 916: required file `./$3)].in' not found
> FATAL ERROR: Autoconf version 2.52 or higher is required for this script
> autoconf-2.13 failed
> Autotool bootstrapping failed. You will need to investigate and correct
> before you can develop on this source tree
> [EMAIL PROTECTED] squid]# autoconf --version
> autoconf (GNU Autoconf) 2.57


I would recommend you to start from a clean source tree.. My guess is
that something has been messed up in an earlier attempt when proper
autoconf/automake versions could not be found...

either that, or your source tree includes patches for use with later
autoconf versions.

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] Unable to enable wccpv2 on rhes3

2006-05-24 Thread Rodrick Brown
I tried using autoconf 2.1.3 and 2.57 I get the following error with  
both


# ./bootstrap.sh
FATAL ERROR: Autoconf version 2.52 or higher is required for this script
configure.in: 916: required file `./_AM_File,.in' not found
configure.in: 916: required file `./$2,.in' not found
configure.in: 916: required file `./$3)].in' not found
FATAL ERROR: Autoconf version 2.52 or higher is required for this script
autoconf-2.13 failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
[EMAIL PROTECTED] squid]# autoconf --version
autoconf (GNU Autoconf) 2.57


On May 23, 2006, at 8:57 PM, Chris Robertson wrote:


Rodrick Brown wrote:

Hi i'm trying to build squid with wccpv2 support for some odd  
reason  I'm unable to enable this feature.


I'm using the latest stable version squid-2.5.STABLE14.tar.gz

The WCCP patch I'm using is the one located at  http:// 
devel.squid- cache.org/cgi-bin/diff2/wccp2-2_5?s2_5


[EMAIL PROTECTED] proxysense]# patch -p0 < wccp2-2_5.patch
patching file squid/acconfig.h
patching file squid/configure.in
patching file squid/doc/README.wccpv2
patching file squid/src/Makefile.am
patching file squid/src/cf.data.pre
patching file squid/src/cf_gen_defines
patching file squid/src/main.c
patching file squid/src/protos.h
patching file squid/src/structs.h
patching file squid/src/wccp2.c

I edit acconfig.h line 122  setting the following
#define USE_WCCPv2


At this point you need to run ./bootstrap.sh

In order to do so, you need autoconf 2.13 and automake 1.5.  You  
can find both at http://mirrors.kernel.org/gnu/ mirrors.kernel.org/gnu/autoconf/autoconf-2.13.tar.gz> and can  
install both in parallel with what you already have on your  
system.  Then continue on as normal.





[EMAIL PROTECTED] squid]# ./configure --prefix=/opt/squid --enable-  
linux-netfilter --enable-wccpv2


[EMAIL PROTECTED] squid]# make && make install

http_port 192.168.100.3 80
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern .   0   20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /opt/squid/var/cache
wccp2_router 192.168.100.1:2048
wccp2_version 4
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0

Here is my squid conf just testing on port 80 for now

Here is  my problem

./squid
2006/05/24 07:41:23| parseConfigFile: line 27 unrecognized:   
'wccp2_router 192.168.100.1:2048'
2006/05/24 07:41:23| parseConfigFile: line 28 unrecognized:   
'wccp2_version 4'
2006/05/24 07:41:23| parseConfigFile: line 29 unrecognized:   
'wccp2_forwarding_method 1'
2006/05/24 07:41:23| parseConfigFile: line 30 unrecognized:   
'wccp2_return_method 1'
2006/05/24 07:41:23| parseConfigFile: line 31 unrecognized:   
'wccp2_service standard 0'


[EMAIL PROTECTED] squid]# find . -name \*wccp*
./src/wccp.c
./src/wccp2.c
./src/.deps/wccp.Po
./src/wccp.o
./doc/README.wccpv2

Looks like wccp2.c is never getting compiled anyone know how I  
can  fix this ?


Linux localhost.localdomain 2.4.21-37.EL #1 Wed Sep 7 13:37:20  
EDT  2005 i686 athlon i386 GNU/Linux

[EMAIL PROTECTED] squid]# cat /etc/issue
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)


Chris




Re: [squid-users] Unable to enable wccpv2 on rhes3

2006-05-23 Thread Chris Robertson

Rodrick Brown wrote:

Hi i'm trying to build squid with wccpv2 support for some odd reason  
I'm unable to enable this feature.


I'm using the latest stable version squid-2.5.STABLE14.tar.gz

The WCCP patch I'm using is the one located at  http://devel.squid- 
cache.org/cgi-bin/diff2/wccp2-2_5?s2_5


[EMAIL PROTECTED] proxysense]# patch -p0 < wccp2-2_5.patch
patching file squid/acconfig.h
patching file squid/configure.in
patching file squid/doc/README.wccpv2
patching file squid/src/Makefile.am
patching file squid/src/cf.data.pre
patching file squid/src/cf_gen_defines
patching file squid/src/main.c
patching file squid/src/protos.h
patching file squid/src/structs.h
patching file squid/src/wccp2.c

I edit acconfig.h line 122  setting the following
#define USE_WCCPv2


At this point you need to run ./bootstrap.sh

In order to do so, you need autoconf 2.13 and automake 1.5.  You can 
find both at http://mirrors.kernel.org/gnu/ 
 and can 
install both in parallel with what you already have on your system.  
Then continue on as normal.





[EMAIL PROTECTED] squid]# ./configure --prefix=/opt/squid --enable- 
linux-netfilter --enable-wccpv2


[EMAIL PROTECTED] squid]# make && make install

http_port 192.168.100.3 80
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern .   0   20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /opt/squid/var/cache
wccp2_router 192.168.100.1:2048
wccp2_version 4
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0

Here is my squid conf just testing on port 80 for now

Here is  my problem

./squid
2006/05/24 07:41:23| parseConfigFile: line 27 unrecognized:  
'wccp2_router 192.168.100.1:2048'
2006/05/24 07:41:23| parseConfigFile: line 28 unrecognized:  
'wccp2_version 4'
2006/05/24 07:41:23| parseConfigFile: line 29 unrecognized:  
'wccp2_forwarding_method 1'
2006/05/24 07:41:23| parseConfigFile: line 30 unrecognized:  
'wccp2_return_method 1'
2006/05/24 07:41:23| parseConfigFile: line 31 unrecognized:  
'wccp2_service standard 0'


[EMAIL PROTECTED] squid]# find . -name \*wccp*
./src/wccp.c
./src/wccp2.c
./src/.deps/wccp.Po
./src/wccp.o
./doc/README.wccpv2

Looks like wccp2.c is never getting compiled anyone know how I can  
fix this ?


Linux localhost.localdomain 2.4.21-37.EL #1 Wed Sep 7 13:37:20 EDT  
2005 i686 athlon i386 GNU/Linux

[EMAIL PROTECTED] squid]# cat /etc/issue
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)


Chris


[squid-users] Unable to enable wccpv2 on rhes3

2006-05-23 Thread Rodrick Brown
Hi i'm trying to build squid with wccpv2 support for some odd reason  
I'm unable to enable this feature.


I'm using the latest stable version squid-2.5.STABLE14.tar.gz

The WCCP patch I'm using is the one located at  http://devel.squid- 
cache.org/cgi-bin/diff2/wccp2-2_5?s2_5


[EMAIL PROTECTED] proxysense]# patch -p0 < wccp2-2_5.patch
patching file squid/acconfig.h
patching file squid/configure.in
patching file squid/doc/README.wccpv2
patching file squid/src/Makefile.am
patching file squid/src/cf.data.pre
patching file squid/src/cf_gen_defines
patching file squid/src/main.c
patching file squid/src/protos.h
patching file squid/src/structs.h
patching file squid/src/wccp2.c

I edit acconfig.h line 122  setting the following
#define USE_WCCPv2

[EMAIL PROTECTED] squid]# ./configure --prefix=/opt/squid --enable- 
linux-netfilter --enable-wccpv2


[EMAIL PROTECTED] squid]# make && make install

http_port 192.168.100.3 80
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern .   0   20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /opt/squid/var/cache
wccp2_router 192.168.100.1:2048
wccp2_version 4
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0

Here is my squid conf just testing on port 80 for now

Here is  my problem

./squid
2006/05/24 07:41:23| parseConfigFile: line 27 unrecognized:  
'wccp2_router 192.168.100.1:2048'
2006/05/24 07:41:23| parseConfigFile: line 28 unrecognized:  
'wccp2_version 4'
2006/05/24 07:41:23| parseConfigFile: line 29 unrecognized:  
'wccp2_forwarding_method 1'
2006/05/24 07:41:23| parseConfigFile: line 30 unrecognized:  
'wccp2_return_method 1'
2006/05/24 07:41:23| parseConfigFile: line 31 unrecognized:  
'wccp2_service standard 0'


[EMAIL PROTECTED] squid]# find . -name \*wccp*
./src/wccp.c
./src/wccp2.c
./src/.deps/wccp.Po
./src/wccp.o
./doc/README.wccpv2

Looks like wccp2.c is never getting compiled anyone know how I can  
fix this ?


Linux localhost.localdomain 2.4.21-37.EL #1 Wed Sep 7 13:37:20 EDT  
2005 i686 athlon i386 GNU/Linux

[EMAIL PROTECTED] squid]# cat /etc/issue
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)