Re: compile problem with IPv6 branch ??

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 18 Mar 2003 23:23:16 +0100

The ipv6 branch probably uses

  automake-1.5
  autoconf-2.13

and updating it to support automake-1.7 and autoconf-2.50+ probably
requires a little bit of work in configure.in and the Makefile.am
files.. probably better to start with the slightly older versions of the
same..

Regards
Henrik

Gavin Davenport wrote:
>
> Hello there
>
> I'm having trouble compiling the squid IPV6 code I extract from CVS. I think
> I actually have a compile/system problem.
> I can't run the bootstrap.sh script successfully.
>
> I'm building it on a Solaris 8.0 Sun Axil - a bit old but its used to
> running squid 2.5 & runs IPv6 ok.
>
> I installed the Solaris 8.0 end user distribution, which meant I've had to
> add some stuff by hand:
> http://www.science.uva.nl/pub/solaris/solaris2/Q6.2.html (compilers and
> things)
>
> I've also had to add packages cvs, autoconf, m4 and automake which I got
> from from sunfreeware.com.
> Sun equivalents are probably also in the sun CDs but I have trouble
> interpreting their package names.
> cvs-1.11.5-sol8-sparc-local
> autoconf-2.57-sol9-sparc-local
> m4-1.4-sol8-sparc-local
> automake-1.7.2-sol8-sparc-local
>
> I extract the code as per:
> http://www.bieringer.de/linux/IPv6/IPv6-HOWTO/IPv6-HOWTO-4.html#squid
>
> cvs -d :pserver:anonymous@cvs.devel.squid-cache.org/cvsroot/squid co -r
> ipv6 -d squid-ipv6 squid
>
> at this point - I'm unsure whether I have to apply a patch
> (http://devel.squid-cache.org/ipv6/)
> or whether I can just compile the code I've extracted from cvs. Can anyone
> help me with what I should do - I can't work out what version to apply the
> supplied patch to, or how to extract that version and apply the patch
> properly.
>
> 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
>
> bash-2.03#
>
> This looks to me to be more along the lines of me not having prepared the
> code for the bootstrap.sh to run - can anyone enlighten me as to where I
> should look ??
>
> Thanks
>
> Gavin Davenport
Received on Tue Mar 18 2003 - 15:27:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:33 MST