[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 64-bit build on Windows
From: |
Arash Esbati |
Subject: |
Re: 64-bit build on Windows |
Date: |
Thu, 26 Jan 2017 20:05:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 |
Juanma Barranquero <address@hidden> writes:
> On Fri, Jan 20, 2017 at 3:32 PM, Óscar Fuentes <address@hidden> 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=/mingw64/lib/pkgconfig \
> ./configure --prefix=/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="${MINGW_PREFIX}"
PKG_CONFIG_PATH="${MINGW_MOUNT_POINT}/lib/pkgconfig:${MINGW_MOUNT_POINT}/share/pkgconfig"
;;
MINGW64)
MINGW_MOUNT_POINT="${MINGW_PREFIX}"
PKG_CONFIG_PATH="${MINGW_MOUNT_POINT}/lib/pkgconfig:${MINGW_MOUNT_POINT}/share/pkgconfig"
;;
*)
PKG_CONFIG_PATH="/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:
[1] http://lists.gnu.org/archive/html/bug-auctex/2016-09/msg00008.html
[2] https://sourceforge.net/p/emacsbinw64/discussion/general/thread/87c80d2f/
- Re: 64-bit build on Windows, (continued)
- Re: 64-bit build on Windows, Juanma Barranquero, 2017/01/21
- Re: 64-bit build on Windows, Juanma Barranquero, 2017/01/21
- Re: 64-bit build on Windows, Nikolay Kudryavtsev, 2017/01/21
- Re: 64-bit build on Windows, Óscar Fuentes, 2017/01/21
- Re: 64-bit build on Windows, Eli Zaretskii, 2017/01/21
- Re: 64-bit build on Windows, Juanma Barranquero, 2017/01/21
- Re: 64-bit build on Windows, Stephen Leake, 2017/01/22
- Re: 64-bit build on Windows, Eli Zaretskii, 2017/01/22
- Re: 64-bit build on Windows, Fabrice Popineau, 2017/01/22
- Re: 64-bit build on Windows, Juanma Barranquero, 2017/01/21
- Re: 64-bit build on Windows,
Arash Esbati <=
- Re: 64-bit build on Windows, Fabrice Popineau, 2017/01/27
Re: 64-bit build on Windows, Angelo Graziosi, 2017/01/21