all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error from automake.sg
@ 2011-06-08  6:04 Richard Stallman
  2011-06-08  7:07 ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2011-06-08  6:04 UTC (permalink / raw)
  To: emacs-devel

What do I need to do to correct this?


Checking whether you have the necessary tools...
(Read INSTALL.BZR for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
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.
autoreconf: automake failed with exit status: 63


-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-08  6:04 Error from automake.sg Richard Stallman
@ 2011-06-08  7:07 ` Glenn Morris
       [not found]   ` <E1QUMfj-00027r-Om@fencepost.gnu.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2011-06-08  7:07 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel


You could try

autoreconf -f -i -I m4

I'm guessing you updated recently after a long interval?
`bzr status' may indicate conflicts that you need to resolve.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
       [not found]   ` <E1QUMfj-00027r-Om@fencepost.gnu.org>
@ 2011-06-08 17:43     ` Glenn Morris
       [not found]       ` <E1QUgg2-0004w5-Sd@fencepost.gnu.org>
  2011-06-09 22:42       ` Richard Stallman
  0 siblings, 2 replies; 10+ messages in thread
From: Glenn Morris @ 2011-06-08 17:43 UTC (permalink / raw)
  To: Richard Stallman; +Cc: emacs-devel


Richard Stallman wrote (on Wed, 8 Jun 2011 at 13:36 -0400):

>     autoreconf -f -i -I m4
> 
> It gave me the same error message about recreating aclocal.m4 with aclocal.
> It doesn't say where to get information about how to do that.

autoreconf is a wrapper that calls aclocal and all the other necessary
tools for you.

For some unknown reason (I suggested looking at bzr status output),
yours seems to have an internal error, essentially.

Try:

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
       [not found]       ` <E1QUgg2-0004w5-Sd@fencepost.gnu.org>
@ 2011-06-09 17:30         ` Glenn Morris
  2011-06-09 19:45           ` Paul Eggert
  2011-06-10 23:41           ` Richard Stallman
  0 siblings, 2 replies; 10+ messages in thread
From: Glenn Morris @ 2011-06-09 17:30 UTC (permalink / raw)
  To: Richard Stallman; +Cc: emacs-devel


(You keep replying just to me. I don't know if this is intentional, but
I suggest you include the mailing list because I am running out of ideas.)


Richard Stallman wrote (on Thu, 9 Jun 2011 at 10:57 -0400):

> Deleting those files did not help.  I still get the same error message.

At this point, I can only guess that your autotools installation is
messed up. What do the following report:

autoconf --version
autoheader --version

The versions should match, if not, reinstall autoconf (which provides both).


Similarly with:

automake --version
aclocal --version

If these don't match, reinstall automake (which provides both).


You might also check if you have multiple versions of these tools in
your PATH. Eg, `which -a aclocal'.

You might also check for any AUTOCONF etc environment variable
settings. Eg, `set | grep AUTO'.


Finally, if you want to run the commands individually, the sequence is:

aclocal -I m4
autoconf
autoheader
automake --gnu -a -c lib/Makefile

(But the previously mentioned autoreconf command should be doing all
that for you.)



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-09 17:30         ` Glenn Morris
@ 2011-06-09 19:45           ` Paul Eggert
  2011-06-09 21:48             ` Eli Zaretskii
  2011-06-10 23:41           ` Richard Stallman
  1 sibling, 1 reply; 10+ messages in thread
From: Paul Eggert @ 2011-06-09 19:45 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Richard Stallman, emacs-devel

I'm missing some context since I haven't gotten all the emails,
but I suggest trying it with a fresh checkout.  Something like
this, in a fresh directory:

   $ bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
   Branched 104546 revision(s).
   $ cd trunk
   $ ./autogen.sh
   Checking whether you have the necessary tools...
   (Read INSTALL.BZR for more details on building Emacs)

   Checking for autoconf (need at least version 2.65)...
   ok
   Checking for automake (need at least version 1.11)...
   ok
   Your system has the required tools, running autoreconf...
   configure.in:645: installing `./compile'
   configure.in:377: installing `./config.guess'
   configure.in:377: installing `./config.sub'
   configure.in:28: installing `./install-sh'
   configure.in:28: installing `./missing'
   lib/Makefile.am: installing `./depcomp'
   You can now run `./configure'.
   $ ./configure
   [ ... lots of output here ... ]
   $ make
   [ ... lots more output ... ]

If this doesn't work, then there's some incompatibility with
your installation's autotools, which we can look into.  If it
does work, it suggests that there's something messed up with
your copy of the Emacs trunk, which we can also look into.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-09 19:45           ` Paul Eggert
@ 2011-06-09 21:48             ` Eli Zaretskii
  2011-06-09 21:53               ` Paul Eggert
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2011-06-09 21:48 UTC (permalink / raw)
  To: Paul Eggert; +Cc: rms, emacs-devel

> Date: Thu, 09 Jun 2011 12:45:57 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
> 
> I'm missing some context since I haven't gotten all the emails,
> but I suggest trying it with a fresh checkout.  Something like
> this, in a fresh directory:
> 
>    $ bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
>    Branched 104546 revision(s).

Why would one need to make a new branch?  Is there something that 
"bzr clean-tree --force --unknown --ignored --detritus" wouldn't do?
It's much faster.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-09 21:48             ` Eli Zaretskii
@ 2011-06-09 21:53               ` Paul Eggert
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Eggert @ 2011-06-09 21:53 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rms, emacs-devel

On 06/09/11 14:48, Eli Zaretskii wrote:
> Why would one need to make a new branch?  Is there something that 
> "bzr clean-tree --force --unknown --ignored --detritus" wouldn't do?

Not that I know of, but then, I've never heard of most of those
options.  I gave just the simple version that I knew would work,
and which I tested.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-08 17:43     ` Glenn Morris
       [not found]       ` <E1QUgg2-0004w5-Sd@fencepost.gnu.org>
@ 2011-06-09 22:42       ` Richard Stallman
  2011-06-09 23:49         ` Paul Eggert
  1 sibling, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2011-06-09 22:42 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

    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?


-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-09 22:42       ` Richard Stallman
@ 2011-06-09 23:49         ` Paul Eggert
  0 siblings, 0 replies; 10+ messages in thread
From: Paul Eggert @ 2011-06-09 23:49 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

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 <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Error from automake.sg
  2011-06-09 17:30         ` Glenn Morris
  2011-06-09 19:45           ` Paul Eggert
@ 2011-06-10 23:41           ` Richard Stallman
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2011-06-10 23:41 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

    (You keep replying just to me. I don't know if this is intentional, but
    I suggest you include the mailing list because I am running out of ideas.)

It was to avoid bothering everyone with more mail, since you seemed
to know what to do.

    Similarly with:

    automake --version
    aclocal --version

    If these don't match, reinstall automake (which provides both).

That is the problem.  I installed automake from source
and did not know aclocal was separate.

So I installed the binary automake package, and now it works.

Thanks.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-10 23:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08  6:04 Error from automake.sg Richard Stallman
2011-06-08  7:07 ` Glenn Morris
     [not found]   ` <E1QUMfj-00027r-Om@fencepost.gnu.org>
2011-06-08 17:43     ` Glenn Morris
     [not found]       ` <E1QUgg2-0004w5-Sd@fencepost.gnu.org>
2011-06-09 17:30         ` Glenn Morris
2011-06-09 19:45           ` Paul Eggert
2011-06-09 21:48             ` Eli Zaretskii
2011-06-09 21:53               ` Paul Eggert
2011-06-10 23:41           ` Richard Stallman
2011-06-09 22:42       ` Richard Stallman
2011-06-09 23:49         ` Paul Eggert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.