From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.bugs Subject: bug#19989: 25.0.50; Build instructions on Windows Date: Tue, 3 Mar 2015 12:30:37 -0800 Message-ID: <20150303203037.GA26426@math.berkeley.edu> References: <20150303163453.GA25244@math.berkeley.edu> <834mq2qana.fsf@gnu.org> <83385mq9og.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1425415288 15066 80.91.229.3 (3 Mar 2015 20:41:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2015 20:41:28 +0000 (UTC) Cc: 19989@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 03 21:41:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YStcx-000113-VA for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 21:41:16 +0100 Original-Received: from localhost ([::1]:40784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YStcx-0008KA-F8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 15:41:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YStcp-0008CO-7g for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 15:41:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YStcl-000859-5N for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 15:41:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YStck-00084w-RQ for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 15:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YStcj-0001Fw-R1 for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2015 15:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ilya Zakharevich Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Mar 2015 20:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19989 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19989-submit@debbugs.gnu.org id=B19989.14254152314785 (code B ref 19989); Tue, 03 Mar 2015 20:41:01 +0000 Original-Received: (at 19989) by debbugs.gnu.org; 3 Mar 2015 20:40:31 +0000 Original-Received: from localhost ([127.0.0.1]:34272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YStcE-0001F6-OK for submit@debbugs.gnu.org; Tue, 03 Mar 2015 15:40:31 -0500 Original-Received: from nm18-vm5.bullet.mail.gq1.yahoo.com ([98.136.217.220]:52865) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YStSo-00010o-OZ for 19989@debbugs.gnu.org; Tue, 03 Mar 2015 15:30:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425414639; bh=Gun96/GjQutEbGWrQyBVtU1e98yFnwapbiayL6eEy4s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=YMigKl6PGItXWbqT7qNcx7runw0zl+C7XKBIoKWRWUOY220Cpyf3W9F0T0/KyCE8lsbm6R58jaemqJebQ8gHrPToo8Mp2sLe3C60OvGBQlYMAezAHTj2I4V6eyDXhTnve0QiEHT6V2Qn9a3x1ocWnx6FwDHM4F6UFpv1k41avte/Nhog5rOhRXVfjk/in1nNDeLKfR8odkmVA868+XZAyKoXQeZbTvW8ZxUNFYyjKaGINPa7ZD2hQt3/rV3CHS0Uas0B6WdfmjBWOCE8ttagedWUYvILtI+lweZ8/fOPpFabj4U4eeE+SSsJUMOMo2C1civAEqIFalrCxnqZikSKvA== Original-Received: from [216.39.60.182] by nm18.bullet.mail.gq1.yahoo.com with NNFMP; 03 Mar 2015 20:30:39 -0000 Original-Received: from [208.71.42.202] by tm18.bullet.mail.gq1.yahoo.com with NNFMP; 03 Mar 2015 20:30:39 -0000 Original-Received: from [127.0.0.1] by smtp213.mail.gq1.yahoo.com with NNFMP; 03 Mar 2015 20:30:39 -0000 X-Yahoo-Newman-Id: 32295.13877.bm@smtp213.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1UsfNugVM1mht99RSly4PPU2GTqyiial2uKMNrRNOQeWyQT en6xHrT4PdPiCfuzRNGBbMnwk5ymBuleMo6zKy834exwJCK3yFYshC13P7ll ua2YvgMLc7aVVaBvazGJmBsTc_8j46_H6UoxeIG_Cy_x.FCkU_r6FPedYik3 pRvzEgp2GxZlNCuUcaTOlLJfiW9GrsN2SlK73SPQFsIodErkpUkJwMv_CNzr yKmQU1j9xtNsXP48hw90tZhrZ0NfBnMZrRk2bpCabJv.qZZd_WduUnohWLGa ArOq3Rp81ZJhcDek9rQL0eX5VvHkLQgzlOSaQjEL_H_YDcGL211i59SS1lef krqIpUhZiku63FDMr5N4A1cAnlaClVPg27kJu4dz98v.aY81ttCi4eKQ66dk X3lMXKqZYUhDKI5_d.nf4Rk5g.WjlP7rgJj1tE3c5ptZlIDXUaB7PKlFB_D5 1g7M0eYBFKpwkWpibaEWhc_oROKM4fVDkCDr2xiIcrJOkN3QaYxYWpz8phxZ u3f6bcYIeVG40960FKkfGoZJ5REvCme5w2gf8wv7J4SY- X-Yahoo-SMTP: oLSY3dWswBBqoBVzCkLl_RIsw6heKMxu8wpEbARv1SU- Content-Disposition: inline In-Reply-To: <83385mq9og.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Tue, 03 Mar 2015 15:40:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100033 Archived-At: On Tue, Mar 03, 2015 at 07:21:03PM +0200, Eli Zaretskii wrote: > > Date: Tue, 03 Mar 2015 19:00:09 +0200 > > From: Eli Zaretskii > > Cc: 19989@debbugs.gnu.org > > > > > • mingw shell sets path to (essentially) FOO/msys/1.0/mingw/bin (here FOO > > > is the install path), but there is no directory > > > FOO/msys/1.0/mingw > > > what is is > > > FOO/bin > > > So I needed to make a symbolic link (Windows style required) by > > > running > > > mklink /j mingw FOO > > > in FOO/msys/1.0 > > FWIW, the 2nd issue sounds to me like an installation mistake of some > > kind (did you install MinGW inside the MSYS tree, by chance?). How would I know? I just ran mingw-get (as described), and set install directory ( = FOO) once. The result: FOO/bin - contains gcc executables etc FOO/msys/1.0/ - contains msys FOO/msys/1.0/bin - contains msys executables > > But > > I'm not an expert; all I know is that on my system, the MSYS Bash > > window has PATH set to whatever my system-wide PATH is, with these > > directories prepended: > > > > .:/usr/local/bin:/mingw/bin:/bin: > > > > IOW, no msys/1.0/mingw/ anywhere in sight. ??? Of course it IS in sight: /bin IS native FOO/msys/1.0/bin /mingw/bin IS native FOO/msys/1.0/mingw/bin > Btw, there's nothing magic in the PATH value: it is set in > /etc/profile (probably FOO/msys/etc/profile in your case), and you can > edit it to your heart's content. Only if one KNOWS what all these slashes-etc MEAN. As you see, even *you* got lost what denotes which native directory. If what the users know is what is in nt/INSTALL, they have no way to deduce this info. ======================================================= BTW: you reminded me: there is another bug in Emacs build — this one purely in Emacs. My default PATH accesses a complete cygwin installation, and: • Emacs won’t build unless I unset PATH before running the msys shell. I expect that the detection of presence of dependencies is not “specific enough”: • it can see “something” present on PATH, and • it does not check that “this” won’t actually build with mingw being first on PATH. Ilya