automake problems

From: Alan Barrett <apb@dont-contact.us>
Date: Wed, 30 Jul 2003 10:37:57 +0200

On Tue, 29 Jul 2003, Henrik Nordstrom wrote:
> The patch is still there. I use it on all my boxes for Squid-2.5
> development. http://devel.squid-cache.org/amake/
>
> It can be applied on most existing automake-1.5 installation by
> extracting just the automake patch and applying it to the installed file
> without having to rebuild automake.

This machine is using FreeBSD-4.8 (which is the latest stable version).
FreeBSD-4.8 and FreeBSD-5.1 shipped with automake-1.5, and without
working versiond of automake-1.6 or -1.7.

I tried patching automake-1.5 as you described, but then running squid's
bootstrap.sh failed with an error message that I didn't write down, but
which I seem to remember being almost identical to the one reported
below for more recent versions of autoconf and automake.

Then I updated to a more recent version of teh FreeBSD "ports" tree, and
built and installed autoconf-2.57 and automake-1.7. bootstrap.sh now
fails with the following message:

sh ./bootstrap.sh
Bootstrapping
autoconf: not found
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake17: no `Makefile.am' found or specified
automake17 failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree

Well, of course "autoconf" is not found, the FreeBSD package installed
it under the name /usr/local/bin/autoconf257. So I made a symlink for
autoconf -> autoconf257. Then I got "autoheader not found". So I
made another symlink for autoheader -> autoheader257. Now at last the
bootstrap was successful.

Is it squid's fault or FreeBSD's fault that bootstrap.sh ends up looking for
"autoconf" and "autoheader" when they do not exist? It seems to me that
squid's bootstrap.sh should have detected that "autoconf257" and
"automake257" were the correct names, but I am not sure how it's
all supposed to work.

--apb (Alan Barrett)
Received on Wed Jul 30 2003 - 02:38:47 MDT

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