From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Fri, 19 Apr 2013 00:20:24 +0300 Message-ID: <8338un359j.fsf@gnu.org> References: <83d2tu49lu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366320071 14942 80.91.229.3 (18 Apr 2013 21:21:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 21:21:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 18 23:21:15 2013 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 1USwGY-000819-4o for ged-emacs-devel@m.gmane.org; Thu, 18 Apr 2013 23:21:14 +0200 Original-Received: from localhost ([::1]:54395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USwGX-0007YZ-Hc for ged-emacs-devel@m.gmane.org; Thu, 18 Apr 2013 17:21:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USwGU-0007YT-7G for emacs-devel@gnu.org; Thu, 18 Apr 2013 17:21:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USwGQ-0004YF-Vr for emacs-devel@gnu.org; Thu, 18 Apr 2013 17:21:10 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:48763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USwGQ-0004Y4-Nn for emacs-devel@gnu.org; Thu, 18 Apr 2013 17:21:06 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MLG00F00Z6JYW00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 19 Apr 2013 00:20:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLG00FIIZA0T1B0@a-mtaout21.012.net.il>; Fri, 19 Apr 2013 00:20:25 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:159008 Archived-At: > Date: Thu, 18 Apr 2013 21:32:12 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > But when I go to the root of my local branch and do "./autogen.sh", I > get this error: > > 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... > Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: > /mingw/share/autoconf /usr/lib/perl5/5.8/msys /usr/lib/perl5/5.8 > /usr/lib/perl5/site_perl/5.8/msys /usr/lib/perl5/site_perl/5.8 > /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/msys > /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at > /c/MinGW/bin/autoreconf-2.68 line 40. > BEGIN failed--compilation aborted at /c/MinGW/bin/autoreconf-2.68 line 40. > ^^^^^^^^^^^^^^^ > > Do you know what's the problem here? Yes: you didn't follow the instructions to the letter ;-) As result you seem to have a botched Autoconf installation which lacks this file. INSTALL.MSYS points to specific distributions of Autoconf and Automake. I did that (and actually prepared those distributions) precisely because I know they work for me. You are using a different version of Autoconf, probably downloaded from somewhere else. I see that you fixed that in the mean time, but I also see that you still use a different version of Autoconf from the one to which I pointed. You may consider uninstalling what you have and installing the versions I provided (assuming that mingw-get supports uninstalling well enough -- I don't know because I never used that tool). Please note that the version I provided is exactly the one used by Glenn to generate the files in autogen/ subdirectory -- which is the reason that I used those very versions of autotools. Also, I see that your Autoconf is installed in the MinGW tree, not in the MSYS tree, probably because you installed MinGW packages for Autoconf and Automake (tyere are no MSYS packages, AFAICS). Again, I advise not to do that. Use my packages, and install them from the root of the MSYS tree. Separating MinGW from MSYS is another advice in INSTALL.MSYS I suggest that you follow to the letter. Having MinGW and MSYS installed correctly and in perfect working order gets you 99% of the way of being able to build Emacs -- all the rest "just works".