From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Trunk r117046 fails on systems with older automake
Date: Thu, 08 May 2014 01:25:46 +0100 [thread overview]
Message-ID: <86lhudyv3p.fsf@gmail.com> (raw)
In-Reply-To: CAAeL0SQkJW88seJJCi8MdWnstZgj8i=owhsbBP0QMLXwWqbgWw@mail.gmail.com
On Wed 07 May 2014, Juanma Barranquero wrote:
> On Wed, May 7, 2014 at 5:32 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> Does pkg-config run from the cmd prompt
>
> I don't have MinGW or MSYS in the PATH, so they don't run from CMD.
> Everything I run to build Emacs runs from the MSYS sh.exe with a path
> than includes MinGW\bin and MSYS\1.0\bin, and C:\devel\emacs\build\bin
> (which has many EZWinports tools).
>
> (mdo = "c:\bin\MinGW\msys\1.0\bin\sh.exe --login -i")
>
> C:\> mdo pkg-config --version
> 0.28
>
>> or does it show a "DLL
>> missing" dialog or some other failure? Do you see any pkg-config
>> related error messages in config.log?
>
> No to both.
>
>> Which m4.exe do you have installed, MSYS or MinGW?
>
> MSYS.
>
>> What version(s) of them?
>
> C:\> mdo m4 --version
> m4 (GNU M4) 1.4.16
>
>> What do you get if you run "autoreconf -v -v --warnings=all -fi -I m4"
>> from the MSYS Bash promt -- do you get the same output as what I sent
>> (off list)? Any errors/warnings that could hint at the problem?
>
> It fails with
>
> configure.ac:70: error: possibly undefined macro: AS_ECHO
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:1352: error: possibly undefined macro: PKG_PROG_PKG_CONFIG
> configure.ac:1355: error: possibly undefined macro: PKG_CHECK_MODULES
> configure.ac:1364: error: possibly undefined macro: m4_default
> configure.ac:2294: error: possibly undefined macro: PKG_CONFIG
> autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1
>
>> FWIW, I don't use Autoconf 2.68, I use 2.65 on one machine and 2.69 on
>> another (the later with a newer Automake, I think).
>
> That hints at a problem, indeed. I seem to have two autoreconf
> installed: 2.65, from EZWinports, in my C:\devel\build\bin directory,
> and 2.68 in MinGW/bin.
My setup is similar to yours (separate tree for non MinGW/MSYS sourced tools).
I found that the following steps helped for me:
- install msys-automake and msys-autoconf (in c:/MinGW/msys)
- uninstall ezwinports automake and autoconf from devel tree
- install pkg-config in c:/MinGW/msys/bin
- install pkg.m4 in c:/MinGW/msys/share/aclocal
- run "bzr clean-tree --detritus --ignored --unknown --force" to ensure
a clean starting point. Run autogen, configure and make as normal.
HTH,
AndyM
next prev parent reply other threads:[~2014-05-08 0:25 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-04 12:01 Trunk r117046 fails on systems with older automake Andy Moreton
2014-05-04 16:17 ` Eli Zaretskii
2014-05-04 18:02 ` Glenn Morris
2014-05-04 18:15 ` Eli Zaretskii
2014-05-04 23:01 ` Glenn Morris
2014-05-05 6:10 ` Eli Zaretskii
2014-05-05 7:00 ` Paul Eggert
2014-05-04 19:28 ` Juanma Barranquero
2014-05-04 19:39 ` Andreas Schwab
2014-05-04 19:51 ` Juanma Barranquero
2014-05-04 20:28 ` Paul Eggert
2014-05-05 6:04 ` Eli Zaretskii
2014-05-04 21:15 ` Andreas Schwab
2014-05-05 19:08 ` Andy Moreton
2014-05-06 19:47 ` Glenn Morris
2014-05-06 23:53 ` Andy Moreton
2014-05-07 0:04 ` Glenn Morris
2014-05-07 2:00 ` Stephen J. Turnbull
2014-05-07 2:14 ` Paul Eggert
2014-05-07 2:58 ` Eli Zaretskii
2014-05-07 4:00 ` Paul Eggert
2014-05-07 15:03 ` Eli Zaretskii
2014-05-08 0:05 ` Andy Moreton
2014-05-08 2:47 ` Eli Zaretskii
2014-05-08 8:00 ` Andy Moreton
2014-05-08 15:05 ` Eli Zaretskii
2014-05-08 15:14 ` Andy Moreton
2014-05-08 15:44 ` Eli Zaretskii
2014-05-07 9:42 ` Andy Moreton
2014-05-07 10:13 ` martin rudalics
2014-05-07 15:17 ` Eli Zaretskii
2014-05-07 15:45 ` martin rudalics
2014-05-07 15:58 ` Eli Zaretskii
2014-05-07 15:14 ` Eli Zaretskii
2014-05-07 2:57 ` Eli Zaretskii
2014-05-07 4:48 ` Stephen J. Turnbull
2014-05-07 15:05 ` Eli Zaretskii
2014-05-07 19:40 ` Stephen J. Turnbull
2014-05-08 2:54 ` Eli Zaretskii
2014-05-07 6:41 ` Glenn Morris
2014-05-07 7:38 ` David Kastrup
2014-05-07 1:03 ` Óscar Fuentes
2014-05-07 2:55 ` Eli Zaretskii
2014-05-07 11:33 ` Óscar Fuentes
2014-05-07 15:18 ` Eli Zaretskii
2014-05-07 15:38 ` Óscar Fuentes
2014-05-07 15:55 ` Eli Zaretskii
2014-05-07 16:06 ` Óscar Fuentes
2014-05-07 2:53 ` Eli Zaretskii
2014-05-07 14:51 ` Juanma Barranquero
2014-05-07 15:32 ` Eli Zaretskii
2014-05-07 17:18 ` Juanma Barranquero
2014-05-07 18:10 ` Eli Zaretskii
2014-05-08 0:25 ` Andy Moreton [this message]
2014-05-05 6:01 ` Eli Zaretskii
2014-05-05 5:54 ` Eli Zaretskii
2014-05-05 7:29 ` martin rudalics
2014-05-05 9:03 ` Eli Zaretskii
2014-05-05 9:25 ` martin rudalics
2014-05-05 9:58 ` Eli Zaretskii
2014-05-05 12:29 ` martin rudalics
2014-05-05 13:15 ` Eli Zaretskii
2014-05-05 13:26 ` martin rudalics
2014-05-05 13:50 ` Eli Zaretskii
2014-05-05 6:13 ` Eli Zaretskii
2014-05-04 17:55 ` Glenn Morris
2014-05-05 22:17 ` Andy Moreton
2014-05-06 20:30 ` Glenn Morris
2014-05-07 6:36 ` Jarek Czekalski
2014-05-07 6:42 ` Glenn Morris
2014-05-07 6:52 ` Jarek Czekalski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86lhudyv3p.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).