[squid-users] how to build squid for IPV6 ?

From: Gavin Davenport <[email protected]>
Date: Mon, 17 Mar 2003 20:47:55 -0000

Hi there

I'm trying to follow the instructions in
(http://www.bieringer.de/linux/IPv6/IPv6-HOWTO/IPv6-HOWTO-4.html#squid)
to build an IPv6 squid.

I've read a few pages on the internet that say that squid has Kame patches
to use IPV6.
(ftp://ftp.kame.net/pub/kame/misc/squid-1.1.22-v6-20001013.diff.gz)
I'm think this patch is to be applied against squid source for 1.1.22 -
which I can't find.

I have also read that the IPv6 is in CVS 2.5 branch.
(http://lists.debian.org/debian-ipv6/2002/debian-ipv6-200205/msg00044.html)

The latest article I can find suggests it might be included for 3.1
(http://www.squid-cache.org/mail-archive/squid-dev/200302/0045.html)

So....I'm trying to compile the ipv6 code extracted via cvs:
(cvs -d :pserver:anonymous@cvs.devel.squid-cache.org/cvsroot/squid co -r
ipv6 -d squid-ipv6 squid)

but the bootstrap.sh doesn't complete on my machine (Solaris 8.0 on Sun Axil
166Mhz 32bit CPU). I'm not sure whether its my machine not having correct
software on it (for example - I've recent versions of autoconf and automake)

This is what happens when I run bootstrap.sh
bash-2.03# ./bootstrap.sh
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:1409: warning: AC_CHECK_TYPE: assuming `__int64' is not a type
configure.in:1426: warning: AC_CHECK_TYPE: assuming `u_short' is not a type
configure.in: installing `cfgaux/install-sh'
configure.in: installing `cfgaux/mkinstalldirs'
configure.in: installing `cfgaux/missing'
Makefile.am:6: option `VERSION=1.5' not recognized
lib/Makefile.am: installing `cfgaux/depcomp'
src/auth/Makefile.am: installing `cfgaux/compile'
automake failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree

I guess what I'm asking is - is it possible to extract a working IPV6
squid - or is it something wrong with my host ?? Would it be more sensible
for me to wait for 3.1 to appear ?

Any pointers would be very greatfully accepted :)

Thanks

Gavin Davenport
Received on Mon Mar 17 2003 - 13:48:43 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:06 MST