emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error from automake.sg


From: Paul Eggert
Subject: Re: Error from automake.sg
Date: Thu, 09 Jun 2011 16:49:59 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

On 06/09/11 15:42, Richard Stallman wrote:
>     rm configure aclocal.m4 src/config.in lib/Makefile.in
>     rm compile config.guess config.sub depcomp install-sh missing
>     autoreconf -f -i -I m4
> 
> I did, but I got the same error message:
> 
>     configure.in:28: version mismatch.  This is Automake 1.11.1,
>     configure.in:28: but the definition used by this AM_INIT_AUTOMAKE
>     configure.in:28: comes from Automake 1.10.1.  You should recreate
>     configure.in:28: aclocal.m4 with aclocal and run automake again.
> 
> What does it mean to "recreate aclocal.m4 with aclocal"?
> Does anyone know how?

The 'aclocal' command generates aclocal.m4.
But autoreconf should invoke aclocal for you, so
that error message doesn't make sense, I'm afraid.

Here are some questions that I hope help:

* Did you try doing it from a fresh copy of the trunk?


* What is the output of this command?

grep AM_AUTOMAKE_VERSION aclocal.m4

Here's what mine outputs:

# AM_AUTOMAKE_VERSION(VERSION)
AC_DEFUN([AM_AUTOMAKE_VERSION],
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
[AM_AUTOMAKE_VERSION([1.11.1])dnl


* What is the output of this command?

autoreconf -v -f -i -I m4

Here's what mine outputs:

autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I m4 --force 
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/eggert/opt/Linux-x86_64/autoconf-2.68/bin/autoconf 
--include=m4 --force
autoreconf: running: /home/eggert/opt/Linux-x86_64/autoconf-2.68/bin/autoheader 
--include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'


* Also, what is the output of 'aclocal --version'?
Mine says this:

aclocal (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <address@hidden>
       and Alexandre Duret-Lutz <address@hidden>.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]