all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 64-bit build on Windows
@ 2017-01-20  1:40 Juanma Barranquero
  2017-01-20  8:06 ` Eli Zaretskii
  2017-01-20 13:42 ` Phillip Lord
  0 siblings, 2 replies; 36+ messages in thread
From: Juanma Barranquero @ 2017-01-20  1:40 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

Hi.

I've been able to build 64-bit Emacs on Windows with MSYS2. Generally,
things went smoothly, except for a couple of small problems.


This fragment in nt/INSTALL.64:

  Note also that we need to disable Imagemagick because Emacs does not yet
  support it on Windows.

    PKG_CONFIG_PATH=/mingw64/lib/pkgconfig \
    ./configure --prefix=/c/emacs/emacs-25 --without-imagemagick

is entirely correct, but confusing if you happen to read it too quickly or
carelessly (as I did). The note talks about Imagemagick, but the sample
command also includes the setting of PKG_CONFIG_PATH (the only time that
pkg-config is mentioned in the file). So my brain dismissed the
PKG_CONFIG_PATH line, and went straight for the "./configure [...]
--without-imagemagick" part. That didn't end too well.


I also used msys2_shell.cmd (though nt/INSTALL.W64 clearly says not to) and
got into trouble with the guessed build machine. To be fair, I was misled
because nt/INSTALL.64 talks about mingw64_shell.bat, and that file doesn't
exist anymore, at least on the default MSYS2 setup you get by following our
suggested step-by-step guide. There are new executables mingw32.exe and
mingw64.exe, and using the latter I finished the build without further
trouble. But surely nt/INSTALL.64 should be fixed to refer to the new
launchers, or perhaps include a pointer to
https://sourceforge.net/p/msys2/wiki/Launchers/.

    Juanma

[-- Attachment #2: Type: text/html, Size: 1638 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: 64-bit build on Windows
@ 2017-01-21 23:12 Angelo Graziosi
  0 siblings, 0 replies; 36+ messages in thread
From: Angelo Graziosi @ 2017-01-21 23:12 UTC (permalink / raw)
  To: fabrice.popineau, Emacs developers

Fabrice Popineau wrote:
> The attached patch should be a proof of concept.

> master-imagemagick.diff
> Description: Text document

I tried to use those patches to build Emacs master but they do not apply 
cleanly to current master:

MINGW_INSTALLS=mingw64 makepkg-mingw -sLf
[...]
==> Avvio di prepare() in corso...
patching file configure.ac
patching file lisp/loadup.el
patching file lisp/term/w32-win.el
Hunk #1 succeeded at 271 with fuzz 2.
patching file src/image.c
Hunk #1 FAILED at 2307.
Hunk #2 FAILED at 8244.
Hunk #4 FAILED at 8471.
Hunk #6 FAILED at 8912.
4 out of 7 hunks FAILED -- saving rejects to file src/image.c.rej
==> ERRORE: Si è verificato un errore in prepare().
     L'operazione sta per essere interrotta...

Now I haven't time to see the reasons... May you?

TIA,
   Angelo.



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2017-01-27  6:07 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-20  1:40 64-bit build on Windows Juanma Barranquero
2017-01-20  8:06 ` Eli Zaretskii
2017-01-21 18:29   ` Juanma Barranquero
2017-01-21 18:38     ` Eli Zaretskii
2017-01-20 13:42 ` Phillip Lord
2017-01-20 14:32   ` Óscar Fuentes
2017-01-20 15:54     ` Eli Zaretskii
2017-01-20 19:51       ` Fabrice Popineau
2017-01-21 18:25         ` Eli Zaretskii
2017-01-21 19:04           ` Fabrice Popineau
2017-01-21 19:15             ` Juanma Barranquero
2017-01-21 19:23               ` Fabrice Popineau
2017-01-21 19:30                 ` Juanma Barranquero
2017-01-21 19:55                 ` Eli Zaretskii
2017-01-21 20:40                   ` Fabrice Popineau
2017-01-22 16:50                     ` Eli Zaretskii
2017-01-22 20:38                       ` Fabrice Popineau
2017-01-22 21:22                         ` Paul Eggert
2017-01-22 21:39                           ` Fabrice Popineau
2017-01-23  3:37                           ` Eli Zaretskii
2017-01-23  3:30                         ` Eli Zaretskii
2017-01-21 18:57       ` Juanma Barranquero
2017-01-21 19:52         ` Eli Zaretskii
2017-01-21 21:15           ` Juanma Barranquero
2017-01-21 21:42           ` Juanma Barranquero
2017-01-21 22:30             ` Nikolay Kudryavtsev
2017-01-21 22:43             ` Óscar Fuentes
2017-01-22  3:38               ` Eli Zaretskii
2017-01-21 21:18         ` Juanma Barranquero
2017-01-22 17:50           ` Stephen Leake
2017-01-22 18:07             ` Eli Zaretskii
2017-01-22 20:30               ` Fabrice Popineau
2017-01-21 18:37     ` Juanma Barranquero
2017-01-26 19:05       ` Arash Esbati
2017-01-27  6:07         ` Fabrice Popineau
  -- strict thread matches above, loose matches on Subject: below --
2017-01-21 23:12 Angelo Graziosi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.