From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: 64-bit build on Windows Date: Thu, 26 Jan 2017 20:05:45 +0100 Message-ID: <86a8adhcae.fsf@gnu.org> References: <874m0tc0gn.fsf@russet.org.uk> <87efzxn6or.fsf@wanadoo.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1485457582 11738 195.159.176.226 (26 Jan 2017 19:06:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2017 19:06:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 Cc: =?iso-8859-1?Q?=D3scar?= Fuentes , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 26 20:06:16 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpN0-0001nQ-6i for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2017 20:06:06 +0100 Original-Received: from localhost ([::1]:40665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWpN5-0003qQ-5G for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2017 14:06:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWpMu-0003q3-PT for emacs-devel@gnu.org; Thu, 26 Jan 2017 14:06:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWpMs-00061z-4Y for emacs-devel@gnu.org; Thu, 26 Jan 2017 14:06:00 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWpMs-00061t-0q; Thu, 26 Jan 2017 14:05:58 -0500 Original-Received: from p4fed1fd1.dip0.t-ipconnect.de ([79.237.31.209]:51405 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cWpMr-0005Is-CN; Thu, 26 Jan 2017 14:05:57 -0500 In-Reply-To: (Juanma Barranquero's message of "Sat, 21 Jan 2017 19:37:34 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211623 Archived-At: Juanma Barranquero writes: > On Fri, Jan 20, 2017 at 3:32 PM, =D3scar Fuentes wrote: > >> I have no idea about PKG_CONFIG_PATH. The MSYS2 recipe does not mention >> it and seems to work just fine. > > Our instructions in nt/INSTALL.W64 do not talk about pkg-config, but they > show PKG_CONFIG_PATH used with configure: > > PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig \ > ./configure --prefix=3D/c/emacs/emacs-25 --without-imagemagick I think it is safe to drop the line with pkg-config as Msys2 does the right thing here. In file /etc/profile, you find these lines (unnecessary ones snipped): source '/etc/msystem' case "${MSYSTEM}" in MINGW32) MINGW_MOUNT_POINT=3D"${MINGW_PREFIX}" PKG_CONFIG_PATH=3D"${MINGW_MOUNT_POINT}/lib/pkgconfig:${MINGW_MOUNT_POINT= }/share/pkgconfig" ;; MINGW64) MINGW_MOUNT_POINT=3D"${MINGW_PREFIX}" PKG_CONFIG_PATH=3D"${MINGW_MOUNT_POINT}/lib/pkgconfig:${MINGW_MOUNT_POINT= }/share/pkgconfig" ;; *) PKG_CONFIG_PATH=3D"/usr/lib/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig" esac ${MINGW_PREFIX} is set in /etc/msystem to /mingw32 or /mingw64. I would suggest to put a line there saying that Dbus should be disabled on Windows. There was a bug report for AUCTeX where a .tex file could not be opened because Emacs was compiled without disabling Dbus.[1,2] Best, Arash Footnotes:=20 [1] http://lists.gnu.org/archive/html/bug-auctex/2016-09/msg00008.html [2] https://sourceforge.net/p/emacsbinw64/discussion/general/thread/87c80d= 2f/