From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Trunk r117046 fails on systems with older automake Date: Thu, 08 May 2014 01:25:46 +0100 Message-ID: <86lhudyv3p.fsf@gmail.com> References: <868uqh4ust.fsf@gmail.com> <83tx95zffo.fsf@gnu.org> <87y4yh72qk.fsf@igel.home> <87tx956y9c.fsf@igel.home> <864n1459hp.fsf@gmail.com> <86tx92v4zi.fsf@gmail.com> <838uqexptc.fsf@gnu.org> <83siolwqn2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399508786 26483 80.91.229.3 (8 May 2014 00:26:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2014 00:26:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 08 02:26:19 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WiCAF-0007ra-DI for ged-emacs-devel@m.gmane.org; Thu, 08 May 2014 02:26:19 +0200 Original-Received: from localhost ([::1]:44139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiCAE-0005UB-Vv for ged-emacs-devel@m.gmane.org; Wed, 07 May 2014 20:26:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiCA6-0005U1-HO for emacs-devel@gnu.org; Wed, 07 May 2014 20:26:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiCA0-0007T0-FA for emacs-devel@gnu.org; Wed, 07 May 2014 20:26:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiCA0-0007So-92 for emacs-devel@gnu.org; Wed, 07 May 2014 20:26:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WiC9y-0007gt-Mu for emacs-devel@gnu.org; Thu, 08 May 2014 02:26:02 +0200 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2014 02:26:02 +0200 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2014 02:26:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 65 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (windows-nt) Cancel-Lock: sha1:B5vP2ikgX4UIRffO/CFb5S2YBi4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171771 Archived-At: On Wed 07 May 2014, Juanma Barranquero wrote: > On Wed, May 7, 2014 at 5:32 PM, Eli Zaretskii 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