[arch-general] Failed to compile Emacs

Diep Pham Van imeo at favadi.com
Sun Jul 15 06:40:09 EDT 2012


After apply this patch, I get:

cd /home/favadi/abs/emacs/src/emacs-24.1 && automake --gnu -a -c lib/Makefile
configure.in:29: error: version mismatch.  This is Automake 1.12.2,
configure.in:29: but the definition used by this AM_INIT_AUTOMAKE
configure.in:29: comes from Automake 1.11.1.  You should recreate
configure.in:29: aclocal.m4 with aclocal and run automake again.
make: *** [/home/favadi/abs/emacs/src/emacs-24.1/lib/Makefile.in] Error 63
config.status: executing gdbinit commands
cd /home/favadi/abs/emacs/src/emacs-24.1 && automake --gnu -a -c lib/Makefile
configure.in:29: error: version mismatch.  This is Automake 1.12.2,
configure.in:29: but the definition used by this AM_INIT_AUTOMAKE
configure.in:29: comes from Automake 1.11.1.  You should recreate
configure.in:29: aclocal.m4 with aclocal and run automake again.
make: *** [/home/favadi/abs/emacs/src/emacs-24.1/lib/Makefile.in] Error 63
==> ERROR: A failure occurred in build().
    Aborting...

How can I solve it?

At Sat, 14 Jul 2012 15:12:02 -0500,
Leonid Isaev <lisaev at umail.iu.edu> wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> On Sun, 15 Jul 2012 02:21:47 +0700
> Diep Pham Van <imeo at favadi.com> wrote:
> 
> > 
> > Hello every one, 
> > I've tried to compile emacs and fail.
> > 
> > You can view the `makepkg -s` ouput here[1].
> > I think the important part here:
> > 
> > ./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function)
> > In file included from md5.h:24:0,
> >                  from md5.c:25:
> > ./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function)
> > make[2]: *** [sha1.o] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > make[2]: *** [md5.o] Error 1
> > mv -f .deps/careadlinkat.Tpo .deps/careadlinkat.Po
> > In file included from sha256.h:21:0,
> >                  from sha256.c:25:
> > ./stdio.h:1030:1: error: ‘gets’ undeclared here (not in a function)
> > make: *** [lib] Error 2
> > 
> > I do not to know what to do here. Any one can help me with this?
> > 
> > 
> > [1] https://gist.github.com/3112844
> 
> A simple google search yields this:
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00240.html...
> Does it answer your question?
> 
> -- 
> Leonid Isaev
> GnuPG key: 0x164B5A6D
> Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
> [2 signature.asc <application/pgp-signature (7bit)>]
> 


More information about the arch-general mailing list