[arch-general] Failed to compile Emacs
Diep Pham Van
imeo at favadi.com
Wed Jul 25 00:16:56 EDT 2012
I must use `autoreconf -i -I m4` in order to build.
On Sun, 15 Jul 2012 10:11:42 -0500
Leonid Isaev <lisaev at umail.iu.edu> wrote:
> On Sun, 15 Jul 2012 17:40:09 +0700
> Diep Pham Van <imeo at favadi.com> wrote:
>
> > 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?
>
> By doing exactly what it tells you -- running aclocal and autoconf in
> PKGBUILD right after patching.
>
> >
> > 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)>]
> > >
>
>
>
--
PHAM Van Diep
imeo at favadi.com - diepphamvan at vccorp.vn
www.favadi.com - (+84) 984 339 841
System Administrator, Adtech, VCCorp, VN
--
There are 10 types of people,
those who understand binary and those who don't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120725/b56007f8/attachment-0001.asc>
More information about the arch-general
mailing list