From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45303: #45303 [feature/native-comp] building error on Windows Date: Sat, 26 Dec 2020 16:24:05 +0200 Message-ID: <83v9colk6y.fsf@gnu.org> References: <6HNZxbkVfqHfTgtuHlg6wDQ-5-IO2RJ3Gfl2yB1EDgMj9jxk1OXCDkH3C39wGF6on6DXntrjHR2xJ0IxI0WaYCeuwqOXGz_rztdgkalA3Z8=@pm.me> <838s9pr2x5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1232"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gliao.tw@pm.me, pcfeb0009@gmx.com, 45303@debbugs.gnu.org, akrl@sdf.org To: edouard debry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 26 15:25:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktAVK-000Abk-2U for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 15:25:10 +0100 Original-Received: from localhost ([::1]:50256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktAVI-0004Lw-N1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 09:25:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktAVC-0004Lq-5h for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 09:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktAVB-0005N4-TZ for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 09:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktAVB-0003um-P9 for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 09:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2020 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45303 X-GNU-PR-Package: emacs Original-Received: via spool by 45303-submit@debbugs.gnu.org id=B45303.160899267115003 (code B ref 45303); Sat, 26 Dec 2020 14:25:01 +0000 Original-Received: (at 45303) by debbugs.gnu.org; 26 Dec 2020 14:24:31 +0000 Original-Received: from localhost ([127.0.0.1]:58872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktAUh-0003tv-C2 for submit@debbugs.gnu.org; Sat, 26 Dec 2020 09:24:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktAUf-0003ti-W0 for 45303@debbugs.gnu.org; Sat, 26 Dec 2020 09:24:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34898) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktAUZ-0005BS-B4; Sat, 26 Dec 2020 09:24:23 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2586 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ktAUY-0007iP-QM; Sat, 26 Dec 2020 09:24:23 -0500 In-Reply-To: (message from edouard debry on Sat, 26 Dec 2020 15:02:54 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196762 Archived-At: > From: edouard debry > Date: Sat, 26 Dec 2020 15:02:54 +0100 > Cc: Eli Zaretskii , gliao.tw@pm.me, pcfeb0009@gmx.com, 45303@debbugs.gnu.org > > and added the absolute path of "/mingw64/bin" to the emacs exec-path. What does this mean, exactly? IOW, how did you add this directory to exec-path, and why did you need to do it? First, "/mingw64/bin" is not a valid Windows absolute file name, since it lacks the drive letter. And second, Emacs's startup code expects the directories where Emacs should look for programs to be mentioned in the system-wide PATH variable. If your PATH doesn't include /mingw64/bin, then you should add it (assuming that there are program files there that Emacs is supposed to find and use). > Outside of mingw64, If I just click on bin/emacs.exe I get a console message : > > Warning: arch-dependent data dir '%emacs_dir%/libexec/emacs/28.0.50/x86_64-w64-mingw32/': No such > file or directory > > and an emacs abort dialog. > > If I launch emacs on the command line from within a mingw64 shell, it runs well. Is this specific to the native-comp branch, or does it also happen if you build and install the master branch?